std::basic_regex<CharT,Traits>:: assign
|
basic_regex
&
assign
(
const
basic_regex
&
other
)
;
|
(1) | (C++11以降) |
|
basic_regex
&
assign
(
basic_regex
&&
other
)
noexcept
;
|
(2) | (C++11以降) |
|
basic_regex
&
assign
(
const
CharT
*
s,
flag_type f = std:: regex_constants :: ECMAScript ) ; |
(3) | (C++11以降) |
|
basic_regex
&
assign
(
const
CharT
*
ptr,
std::
size_t
count,
flag_type f = std:: regex_constants :: ECMAScript ) ; |
(4) | (C++11以降) |
|
template
<
class
ST,
class
SA
>
basic_regex
&
assign
(
const
std::
basic_string
<
CharT,ST,SA
>
&
str,
|
(5) | (C++11以降) |
|
template
<
class
InputIt
>
basic_regex
&
assign
(
InputIt first, InputIt last,
|
(6) | (C++11以降) |
|
basic_regex
&
assign
(
std::
initializer_list
<
CharT
>
ilist,
flag_type f = std:: regex_constants :: ECMAScript ) ; |
(7) | (C++11以降) |
正規表現に内容を割り当てます。
[
first
,
last
)
内の文字を割り当てます。
目次 |
パラメータ
| other | - | 割り当てる別の正規表現 |
| s | - | 割り当てる文字シーケンスへのポインタ |
| str | - | 割り当てる文字列 |
| first, last | - | 割り当てる文字の範囲 |
| ilist | - | 割り当てる文字を含む初期化子リスト |
| 型要件 | ||
-
InputIt
は
LegacyInputIterator
の要件を満たさなければならない。
|
||
戻り値
* this
例外
例
|
このセクションは不完全です
理由: 例がありません |
関連項目
|
内容を代入する
(公開メンバ関数) |