std::basic_regex::imbue
来自cppreference.com
< cpp | regex | basic regex
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| locale_type imbue( locale_type loc ); |
(C++11 起) | |
與
loc替換當前的語言環境。正則表達式不匹配任何字元序列後調用.Original:
Replaces the current locale with
loc. The regular expression does not match any character sequence after the call.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
有效地調用traits_i.imbue(loc)
traits_i是一個默認的初始化實例存儲在正則表達式對象的類型Traits.Original:
Effectively calls traits_i.imbue(loc) where
traits_i is a default initialized instance of the type Traits stored within the regular expression object.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目錄 |
[编辑] 參數
| loc | - | 使用新的語言環境
Original: new locale to use The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[编辑] 返回值
語言環境,再調用這個函數。有效表達traits_i.imbue(loc)返回結果.
Original:
The locale before the call to this function. Effectively returns the result of expression traits_i.imbue(loc).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 例外
(無)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 為例
| 本節是不完整的 原因: no example |
[编辑] 另請參閱
| 獲得區域設置信息 Original: get locale information The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成員函數) | |