std::basic_...mbuf::imbue(3)
π 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. π¦
- Sets
locas the associated locale. Callsimbue(loc)of the most derived class. - 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 π
- 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
- 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