std::basic_streambuf<CharT,Traits>::pubimbue, std::basic_streambuf<CharT,Traits>::imbue - cppreference.com (original) (raw)
Changes the associated locale.
Sets
loc
as the associated locale. Callsimbue(loc)
of the most derived classThe 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()
.
[edit] Parameters
loc | - | locale object to associate |
---|
[edit] Return value
Previous associated locale.
(none)
[edit] Notes
From within the call of imbue(), getloc() returns the previous locale.
[edit] Example
[edit] See also
| | obtains a copy of the associated locale (public member function) [edit] | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |