| I/O manipulators | ||||
| Print functions(C++23) | ||||
| C-style I/O | ||||
| Buffers | ||||
(C++23) | ||||
(C++98/26*) | ||||
(C++20) | ||||
| Streams | ||||
| Abstractions | ||||
| File I/O | ||||
| String I/O | ||||
| Array I/O | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
(C++98/26*) | ||||
(C++98/26*) | ||||
(C++98/26*) | ||||
| Synchronized Output | ||||
(C++20) | ||||
| Types | ||||
| Error category interface | ||||
(C++11) | ||||
(C++11) |
| Public member functions | ||||
(C++11) | ||||
(C++11) | ||||
(C++26) | ||||
| Protected member functions | ||||
basic_filebuf::imbue | ||||
| Non-member functions | ||||
(C++11) |
protected: virtualvoid imbue(conststd::locale& loc) | ||
Changes the associated locale so that all characters inserted or extracted after this call (and until another call toimbue()) are converted using thestd::codecvt facet ofloc.
If the old locale's encoding is state-dependent and file is not positioned at the beginning, then the new locale must have the samestd::codecvt facet as the one previously imbued.
Contents |
| loc | - | the locale to imbue the stream with |
(none)
| This section is incomplete Reason: no example |
[virtual] | reacts to a change of the associated locale (virtual protected member function of std::basic_streambuf<CharT,Traits>)[edit] |
| sets the locale (public member function of std::basic_ios<CharT,Traits>)[edit] |