3 ms·
The std::stream will translate '\n' to what's required for the underlying platform, so it is a perfectly portable way to terminate a line. What std::endl reall
by gpderetta 9y ago
The std::stream will translate '\n' to what's required for the underlying platform, so it is a perfectly portable way to terminate a line.
What std::endl really does is flush the internal stream buffer if any.