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) |