std::basic_streambuf<CharT,Traits>:: pubimbue, std::basic_streambuf<CharT,Traits>:: imbue
From cppreference.net
<
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) | |
연결된 로캘을 변경합니다.
1)
loc
을 연관 로케일로 설정합니다. 가장 파생된 클래스의
imbue(loc)
을 호출합니다
2)
이 함수의 기본 클래스 버전은 아무런 효과가 없습니다. 파생 클래스들은 로케일 변경에 대해 알리기 위해 이 함수를 재정의할 수 있습니다. 파생 클래스는
imbue()
호출 사이에 로케일과 멤버 패싯을 캐시할 수 있습니다.
목차 |
매개변수
| loc | - | 연결할 로케일 객체 |
반환값
1)
이전 연결 로케일.
2)
(없음)
참고 사항
imbue
(
)
호출 내에서,
getloc()
는 이전 로케일을 반환합니다.
예제
|
이 섹션은 불완전합니다
이유: 예제가 없음 |
참고 항목
|
연결된 로캘의 사본을 획득함
(public member function) |