std::locale:: operator=
From cppreference.net
C++
Text processing library
| Localization library | |||||||||||||||||||||||||
| Regular expressions library (C++11) | |||||||||||||||||||||||||
| Formatting library (C++20) | |||||||||||||||||||||||||
| Null-terminated sequence utilities | |||||||||||||||||||||||||
| Byte strings | |||||||||||||||||||||||||
| Multibyte strings | |||||||||||||||||||||||||
| Wide strings | |||||||||||||||||||||||||
| Primitive numeric conversions | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
| Text encoding identifications | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Localization library
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::locale
| Member types | ||||
| Member functions | ||||
|
locale::operator=
|
||||
|
(C++26)
|
||||
|
(until C++20)
|
||||
| Static member functions | ||||
|
const
locale
&
operator
=
(
const
locale
&
other
)
throw
(
)
;
|
(C++11まで) | |
|
const
locale
&
operator
=
(
const
locale
&
other
)
noexcept
;
|
(C++11以降) | |
other のコピーを作成し、 * this の内容を置き換えます。 other が保持するすべてのファセットの参照カウントがインクリメントされます。 * this が以前保持していたすべてのファセットの参照カウントはデクリメントされ、参照カウントがゼロになったファセットは削除されます。
戻り値
* this を返します。これは現在 other のコピーです。
例
|
このセクションは不完全です
理由: 例がありません |
関連項目
|
新しいロケールを構築する
(public member function) |