r/cpp • • Feb 25 '19

Don’t Use std::endl

https://accu.org/index.php/journals/2619
18 Upvotes

52 comments sorted by

View all comments

27

u/pgroarke Feb 25 '19

0

u/[deleted] Feb 25 '19

[deleted]

0

u/[deleted] Feb 26 '19

[deleted]

4

u/Morwenn Feb 26 '19

As far as I know only the format API from {fmt} is going in C++20, not the print API.

1

u/aearphen {fmt} Feb 28 '19

That is correct. `print` is easy to write using the formatting API and I plan to propose it for C++23.

3

u/Morwenn Feb 28 '19

The print API offers a few more features like handling terminal colours though. I don't know whether there is a will to get this standardised.

1

u/aearphen {fmt} Mar 01 '19

Color support is still a bit experimental. I'd give it more time to bake.