std::basic_...mit_on_sync(3)
πΈ NAME
std::basic_syncbuf::set_emit_on_sync β std::basic_syncbuf::set_emit_on_sync. Yeah bestie, the original repeats the name, and we respect the repetition π
. Itβs from the C++ Standard Libary manual (that spelling is literally on the page), and the page title is std::basic_...mit_on_sync(3).
β¨ Synopsis
void set_emit_on_sync( bool b ) noexcept;
This changes the current emit-on-sync policy. The value false β which is the default β indicates that any flush will be postponed until a call to emit. The value true makes flushes apply immediately. Periodt. β¨
π Parameters
bβ new value for the emit-on-sync policy. Slay.
π§ Example
This section is incomplete.
Reason: no example π
π See also
syncβ synchronizes the buffers with the associated character sequence.[virtual]β virtual protected member function ofstd::basic_streambuf<CharT,Traits>.emitβ atomically transmits the entire internal buffer to the wrapped streambuf (public member function).emit_on_flushβ controls whether a stream'sbasic_syncbufemits on flush.noemit_on_flushβ (function template) (C++20).
π Category
Todo no exampleβ literally the category, bestie. No example energy π.
Source: http://cppreference.com Β· version/date: 2024.06.10 Β· page: std::basic_...mit_on_sync(3) β byeee, go set that policy πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms