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]

3

u/TheSuperWig Feb 26 '19

Would there be any problems with std::print? AFAIK the part of fmt that's in C++20 isn't in a nested namespace so would be inconsistent for print.

3

u/aearphen {fmt} Mar 01 '19

There is always co_print.