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

From cppreference.com
< cpp‎ | io‎ | basic syncbuf
 
 
 
std::basic_syncbuf
Public member functions
basic_syncbuf::~basic_syncbuf
(C++20)
Protected member functions
Non-member functions
 
~basic_syncbuf();

Calls emit() to transmit all pending output (and delayed flush, if any) to the wrapped stream. If an exception is thrown by this call, it is caught and ignored.

Parameters

(none)

Notes

Normally called by the destructor of the owning std::basic_osyncstream.

Example

See also

destroys the basic_osyncstream and emits its internal buffer
(public member function of std::basic_osyncstream<CharT,Traits,Allocator>)
constructs a basic_syncbuf object
(public member function)