diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2020-03-24 04:19:36 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2020-03-24 13:33:33 (GMT) |
commit | 8e3a65d96340f523e6ca8ac86b9360a94fe08fb9 (patch) | |
tree | 6d2af5dfd3b3512cf35d441751e6e396ef10f551 /Help/guide/tutorial/Step8/MathFunctions/MathFunctions.h | |
parent | 7099db5dd48d36e5d39ab17219278d834c8a88a7 (diff) | |
download | CMake-8e3a65d96340f523e6ca8ac86b9360a94fe08fb9.zip CMake-8e3a65d96340f523e6ca8ac86b9360a94fe08fb9.tar.gz CMake-8e3a65d96340f523e6ca8ac86b9360a94fe08fb9.tar.bz2 |
Refactor: Avoid `std::endl` where it's not necessary (part 3)
The `std::endl` manipulator, except inserting `\n` character, also
performs `os.flush()`, which may lead to undesired effects (like
disk I/O in the middle of forming data strings). For the
`std::stringstream` it also has no meaning.
* replace multiple `operator<<` calls on a string literal w/
the only call and the only (bigger) string literal;
* replace one character string literal used in `operator<<`
w/ a char literal.
Diffstat (limited to 'Help/guide/tutorial/Step8/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions