Files
2025-10-25 03:02:53 +03:00

1.2 KiB

[streambuf.virt.locales]

31 Input/output library [input.output]

31.6 Stream buffers [stream.buffers]

31.6.3 Class template basic_streambuf [streambuf]

31.6.3.5 Virtual functions [streambuf.virtuals]

31.6.3.5.1 Locales [streambuf.virt.locales]

🔗

void imbue(const locale&);

1

#

Effects: Change any translations based on locale.

2

#

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.

3

#

Default behavior: Does nothing.