std::basic_regex::operator=
提供: cppreference.com
< cpp | regex | basic regex
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
Defined in header <regex>
|
||
basic_regex& operator=( const basic_regex& other ); |
(1) | (C++11およびそれ以降) |
basic_regex& operator=( basic_regex&& other ); |
(2) | (C++11およびそれ以降) |
basic_regex& operator=( const CharT* ptr ); |
(3) | (C++11およびそれ以降) |
basic_regex& operator=( std::initializer_list<CharT> il ); |
(4) | (C++11およびそれ以降) |
template< class ST, class SA > basic_regex& operator=( const std::basic_string<CharT,ST,SA>& p ); |
(5) | (C++11およびそれ以降) |
内容が割り当てられます.
Original:
Assigns the contents.
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.
1)
コピー代入演算子。
other
の内容を割り当てます。 assign(other);に相当.Original:
Copy assignment operator. Assigns the contents of
other
. Equivalent to assign(other);.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.
2)
代入演算子を移動します。ムーブセマンティクスを使用して
other
の内容を割り当てます。 other
操作後に有効ですが、特定されていない状態になっています。 assign(other);に相当.Original:
Move assignment operator. Assigns the contents of
other
using move semantics. other
is in valid, but unspecified state after the operation. Equivalent to assign(other);.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.
3)
ptr
が指すヌル文字で終わる文字列を割り当てます。 assign(ptr);に相当.Original:
Assigns a null-terminated character string pointed to by
ptr
. Equivalent to assign(ptr);.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.
4)
初期化子リスト
il
に含まれる文字が割り当てられています。 assign(il);に相当.Original:
Assigns characters contained in initializer list
il
. Equivalent to assign(il);.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.
5)
文字列
p
の内容を割り当てます。 assign(p);に相当.Original:
Assigns the contents of the string
p
. Equivalent to assign(p);.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.
目次 |
[編集] パラメータ
other | - | 別の正規表現オブジェクト
Original: another regex object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
ptr | - | NULLで終わる文字列へのポインタ
Original: pointer to a null-terminated character string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
il | - | 割り当てるための文字を含む初期化子リスト
Original: initializer list containing characters to assign The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
p | - | 割り当てるために文字を含む文字列
Original: string containing characters to assign The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
*this.
[編集] 例外
1)
(なし)
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.
2)
3-5)
(なし)
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.
[編集] も参照してください
内容が割り当てられます Original: assigns the contents The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) |