basic_streambuf::pubimbue

To set the locale.

locale pubimbue(const locale &loc);

Remarks

The function pubimbue calls imbue(loc).

Returns the previous value of getloc().