Scroll to navigation

std::basic_syncbuf::~basic_syncbuf(3) C++ Standard Libary std::basic_syncbuf::~basic_syncbuf(3)

NAME

std::basic_syncbuf::~basic_syncbuf - std::basic_syncbuf::~basic_syncbuf

Synopsis


~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


This section is incomplete
Reason: no example

See also


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

2022.07.31 http://cppreference.com