std::basic_filebuf<CharT,Traits>::imbue
From cppreference.com
 
 
 < cpp | io | basic filebuf 
 
 
 C++ 
 Feature test macros (C++20)
 Concepts library (C++20)
 Metaprogramming library (C++11)
 Ranges library (C++20)
 Filesystem library (C++17)
 Concurrency support library (C++11)
 Execution control library (C++26)
Input/output library 
 
 
 
 
 
 
 
 
 
 
 
 
 Print functions (C++23)
 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)
std::basic_filebuf 
 
 
 
 
 
 Public member functions
(C++11)
(C++11)
(C++26)
 Protected member functions
basic_filebuf::imbue
 Non-member functions
(C++11)
protected:
virtual void imbue( const std::locale & loc )
 
 
virtual void imbue( const std::locale & loc )
Changes the associated locale so that all characters inserted or extracted after this call (and until another call to imbue()) are converted using the std::codecvt  facet of loc.
If the old locale's encoding is state-dependent and file is not positioned at the beginning, then the new locale must have the same std::codecvt facet as the one previously imbued.
Contents
[edit] Parameters
 loc
 -
 the locale to imbue the stream with
[edit] Return value
(none)
[edit] Example
 This section is incomplete
Reason: no example
Reason: no example
[edit] See also
[virtual]
(virtual protected member function of
std::basic_streambuf<CharT,Traits>) [edit]