protected virtual member function
void imbue (const locale& loc);
Virtual function called by the public member function pubimbue to signal derived classes that a new locale is being imbued.
The imbued locale object is guaranteed to not change between calls to this function.
Its default behavior in basic_streambuf is to do nothing, but derived classes can override this behavior to perform specific actions related to the change in locale settings: basic_filebuf overrides this virtual member function (see basic_filebuf::imbue).
- The locale object being imbued.
Introduces no data races, but overriden versions in derived classes may.
No-throw guarantee: this default definition never throws exceptions.