Namespaces
Variants
Actions

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

From cppreference.com
< cpp‎ | io‎ | basic syncbuf
 
C++
 
Input/output library
 
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]

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant