std::basic_streambuf<CharT,Traits>::pubimbue, std::basic_streambuf<CharT,Traits>::

From cppreference.com
< cpp‎ | io‎ | basic streambuf
std::locale pubimbue( const std::locale & loc ) ;
(1)
protected :
virtual void imbue( const std::locale & loc ) ;
(2)

Changes the associated locale.

1) Sets loc as the associated locale. Calls imbue(loc) of the most derived class
2) imbue()

Parameters

loc - locale object to associate

Return value

1) Previous associated locale.
2) (none)

Notes

From within the call of imbue(), getloc()

Example

See also

obtains a copy of the associated locale
(public member function)