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]

3

u/meneldal2 Feb 26 '19

Well if it outputs a string, you can send that through iostream. Performance is perfectly fine when no formatting occurs.