std::basic_...mbuf::imbue(3)

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

πŸ’– std::basic_...mbuf::imbue(3) πŸ’–

hey bestie πŸ’… welcome to the std::basic_...mbuf::imbue(3) page from the C++ Standard Libary (yes, the header spells it like that and we’re keeping that energy). This is the group chat for pubimbue and imbue β€” locale-changing behavior, but make it cute. No cap, every detail is staying. 🫢


🌸 NAME 🌸

std::basic_streambuf::pubimbue,std::basic_streambuf::imbue - std::basic_streambuf::pubimbue,std::basic_streambuf::imbue

okay so yes, the NAME line literally repeats the same two names after the dash. iconic, honestly. πŸ’…


✨ Synopsis ✨

std::locale pubimbue( const std::locale& loc ); (1)
protected:                                      (2)
virtual void imbue( const std::locale& loc );

Changes the associated locale. πŸ¦‹

  1. Sets loc as the associated locale. Calls imbue(loc) of the most derived class.
  2. The base class version of this function has no effect. The derived classes may override this function in order to be informed about the changes of the locale. The derived class may cache the locale and member facets between calls to imbue().

πŸŽ€ Parameters πŸŽ€

  • loc β€” locale object to associate.

πŸ’– Return value πŸ’–

  1. Previous associated locale.

πŸ¦‹ Example πŸ¦‹

This section is incomplete Reason: no example

not me reading that and feeling personally attacked 😭 but bestie, that is literally what the page says, so we’re keeping it.


πŸ‘‘ See also πŸ‘‘

  • getloc β€” obtains a copy of the associated locale (public member function).

🌈 Category 🌈

  • * Todo no example

mwah πŸ’‹ source/version is http://cppreference.com, date is 2024.06.10, and the page is std::basic_...mbuf::imbue(3). slay 🫢

πŸ“¦ where this page comes from