std::basic_...sic_syncbuf(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– NAME πŸ’–

okay so bestie, welcome to the std::basic_...sic_syncbuf(3) page from the C++ Standard Libary manual ✨. This whole page is about std::basic_syncbuf::~basic_syncbuf β€” and yes, the name is also std::basic_syncbuf::~basic_syncbuf, because the destructor is literally the main character here πŸ’….


🌸 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 β€” periodt.


πŸ’– Parameters πŸ’–

  • (none) β€” literally no parameters, bestie 🫢

🧚 Notes 🧚

Normally called by the destructor of the owning std::basic_osyncstream. So yeah, the owning stream’s destructor is the one pulling up with the cleanup energy 🌈.


πŸŽ€ Example πŸŽ€

This section is incomplete.

Reason: no example πŸ˜­πŸ™ˆ


πŸ¦‹ See also πŸ¦‹

  • destructor β€” destroys the basic_osyncstream and emits its internal buffer (public member function of std::basic_osyncstream<CharT,Traits,Allocator>) πŸ’…
  • constructor β€” constructs a basic_syncbuf object (public member function) ✨

⭐ Category ⭐

  • * Todo no example

that’s the whole vibe πŸ’– huge shoutout to source/version http://cppreference.com, date 2024.06.10, and the page std::basic_...sic_syncbuf(3) β€” bye bestie, go emit responsibly 🫢✨

πŸ“¦ where this page comes from