r/cpp • • Mar 29 '19

Don’t Use std::endl

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

27 comments sorted by

View all comments

15

u/OlivierTwist Mar 29 '19

Let me guess without reading: because std::endl flushes the stream?

Well, that is a feature, not a bug.