std::basic_streambuf<CharT,Traits>:: pubimbue, std::basic_streambuf<CharT,Traits>:: imbue
From cppreference.com
<
cpp
|
io
|
basic streambuf
C++
Input/output library
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)
|
std::basic_streambuf
|
|
std::
locale
pubimbue
(
const
std::
locale
&
loc
)
;
|
(1) | |
protected
:
virtual void imbue ( const std:: locale & loc ) ; |
(2) | |
Changes the associated locale.
1) Sets
loc
as the associated locale. Calls
imbue(loc)
of the most derived class
2) The base class version of this function has no effect. The derived classes may override this function in order to be informed about the changes of the locale. The derived class may cache the locale and member facets between calls to
imbue()
.
Parameters
loc | - | locale object to associate |
Return value
1) Previous associated locale.
Example
This section is incomplete
Reason: no example |
See also
obtains a copy of the associated locale
(public member function) |
Retrieved from "
https://en.cppreference.com/mwiki/index.php?title=cpp/io/basic_streambuf/pubimbue&oldid=85891
"