std::regex_traits<CharT>:: imbue
From cppreference.net
<
cpp
|
regex
|
regex traits
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 | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Regular expressions library
| Classes | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
||||
| Algorithms | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
||||
| Iterators | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
| Exceptions | ||||
|
(C++11)
|
||||
| Traits | ||||
|
(C++11)
|
||||
| Constants | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
||||
| Regex Grammar | ||||
|
(C++11)
|
std::regex_traits
| Member functions | ||||
|
regex_traits::imbue
|
||||
|
locale_type imbue
(
locale_type loc
)
;
|
(C++11以降) | |
loc のコピーで現在のロケールを置き換えます。 loc が現在のロケールと異なる場合、すべてのキャッシュデータが無効化されます。
呼び出し後、 getloc ( ) == loc となります。
目次 |
パラメータ
| loc | - | ロケールを設定する |
戻り値
トレイツオブジェクトの現在のロケール。
このオブジェクトに対して
imbue()
が一度も呼び出されていない場合、呼び出し時点のグローバルロケールが返されます。それ以外の場合、最後に
imbue()
に渡されたロケールが返されます。
例
|
このセクションは不完全です
理由: 例がありません |
関連項目
|
ロケールを取得
(公開メンバ関数) |