27 Input/output library [input.output]

27.6 Stream buffers [stream.buffers]

27.6.3 Class template basic_streambuf<charT,traits> [streambuf]

27.6.3.4 basic_streambuf virtual functions [streambuf.virtuals]

27.6.3.4.1 Locales [streambuf.virt.locales]

void imbue(const locale&)

Effects: Change any translations based on locale.

Remarks: Allows the derived class to be informed of changes in locale at the time they occur. Between invocations of this function a class derived from streambuf can safely cache results of calls to locale functions and to members of facets so obtained.

Default behavior: Does nothing.