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>
の仮想保護メンバー関数)
|
|
ロケールを設定する
(
std::basic_ios<CharT,Traits>
の公開メンバー関数)
|