名前空間
変種
操作

std::basic_regex::operator=

提供: cppreference.com
< cpp‎ | regex‎ | basic regex

 
 
正規表現ライブラリ
クラス
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex(C++11)
sub_match(C++11)
match_results(C++11)
アルゴリズム
Original:
Algorithms
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_match(C++11)
regex_search(C++11)
regex_replace(C++11)
イテレータ
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_iterator(C++11)
regex_token_iterator(C++11)
例外
Original:
Exceptions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_error(C++11)
形質
Original:
Traits
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_traits(C++11)
定数
Original:
Constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
syntax_option_type(C++11)
match_flag_type(C++11)
error_type(C++11)
 
std::basic_regex
メンバー関数
Original:
Member Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex::basic_regex
basic_regex::~basic_regex
basic_regex::operator=
basic_regex::assign
オブザーバー
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex::mark_count
basic_regex::flags
ロケール
Original:
Locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex::getloc
basic_regex::imbue
修飾子
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex::swap
定数
Original:
Constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex constants
非メンバ関数
Original:
Non-member Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap(std::basic_regex)
 
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.
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.
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.
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.
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.
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.

目次

[編集] パラメータ

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.
2)
noexcept specification:  
noexcept
  (C + + 11以来)
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.

[編集] も参照してください

内容が割り当てられます
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.

(パブリックメンバ関数) [edit]