Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/io/basic syncbuf/~basic syncbuf"

From cppreference.com
< cpp‎ | io‎ | basic syncbuf
m (link to ja)
m (langlinks)
 
Line 24: Line 24:
 
{{dsc end}}
 
{{dsc end}}
  
{{langlinks|ja|zh}}
+
{{langlinks|ja|zh}}

Latest revision as of 08:18, 10 October 2022

 
 
 
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.

Contents

[edit] Parameters

(none)

[edit] Notes

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

[edit] Example

[edit] See also

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