std::ends Manipulator
-
Wofür braucht man den? Wann möchte man
'\0'
in den Stream schreiben?
-
Ach, ich glaube der ist veraltet, kann das sein?
-
cppreference.com schrieb:
This manipulator is typically used with std::ostrstream, when the associated output buffer needs to be null-terminated to be processed as a C string.
Unlike std::endl, this manipulator does not flush the stream.