[PATCH] Reports: Convert to C++

Chris Johns chrisj at rtems.org
Wed Jul 7 23:55:10 UTC 2021


On 7/7/21 11:37 pm, Ryan Long wrote:
> I'll get those pointers changed to references, and remove the whitespace changes. Is there a particular reason to not use '\n' instead of std::endl? 

Awesome and thanks.

> I read that std::endl is slower since it's flushing the buffer each time that it is used.

The std::endl is platform independent so language implementers can match it to
the platform the code is being built for. It is similar to os.linesep in python
and why that should be used there.

Chris


More information about the devel mailing list