Previous fileTop of DocumentContentsIndex pageNext file
Apache C++ Standard Library User's Guide

42.2 When to Imbue a New Locale

A program cannot necessarily imbue a new locale on a stream or stream buffer at any particular time. Problems are likely if a new locale is imbued on a stream buffer with a state-dependent code conversion, since the buffer might very well be in the middle of a state-dependent conversion. In such a situation, the code conversion facet contained in the new locale would likely be at loose ends indeed. To avoid problems, follow these guidelines for imbuing locales:



Previous fileTop of DocumentContentsIndex pageNext file