std::basic_osyncstream<CharT,Traits,Allocator>::~basic_osyncstream

~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<CharT,Traits,Allocator>)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/io/basic_osyncstream/~basic_osyncstream