std::basic_osyncstream::~basic_osyncstream

From cppreference.com
~basic_osyncstream();

Destroys a synchronized output stream

First, calls emit(). If an exception is thrown by the call to emit(), it is caught and ignored. Then, destroys the member std::basic_syncbuf and the base std::basic_ostream as usual.

Parameters

(none)

Example

See also

destroys the basic_syncbuf and emits its internal buffer
(public member function of std::basic_syncbuf)