std::basic_filebuf<CharT,Traits>:: imbue
From cppreference.net
<
cpp
|
io
|
basic filebuf
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_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 ) |
||
연결된 로케일을 변경하여 이 호출 이후에 삽입되거나 추출되는 모든 문자(그리고 다음
imbue()
호출 전까지)가
loc
의
std::codecvt
패싯을 사용하여 변환되도록 합니다.
이전 로케일의 인코딩이 상태 종속적이고 파일이 시작 위치에 있지 않다면, 새 로케일은 이전에 임뷰된 것과 동일한 std::codecvt 패싯을 가져야 합니다.
목차 |
매개변수
| loc | - | 스트림에 적용할 로케일 |
반환값
(없음)
예제
|
이 섹션은 불완전합니다
이유: 예제가 없음 |
참고 항목
|
[virtual]
|
연결된 로캘 변경에 반응함
(
std::basic_streambuf<CharT,Traits>
의
가상 protected 멤버 함수)
|
|
로캘을 설정함
(
std::basic_ios<CharT,Traits>
의
public 멤버 함수)
|