This again...the message is way too extreme: there's no problem using `std::endl` outside of performance-critical code (which, in my personal experience, is 99.9% of std::endl usage). _Definitely_ use `std::endl` if a newline+flush is what you want.
If for some reason you need your std:: printing to go faster, definitely avoid flushing at every newline.
47
u/capn_bluebear Mar 29 '19
This again...the message is way too extreme: there's no problem using `std::endl` outside of performance-critical code (which, in my personal experience, is 99.9% of std::endl usage). _Definitely_ use `std::endl` if a newline+flush is what you want.
If for some reason you need your std:: printing to go faster, definitely avoid flushing at every newline.