Namespaces
Variants

std::regex_error:: operator=

From ja.cppreference.net
Regular expressions library
Classes
(C++11)
Algorithms
Iterators
Exceptions
Traits
Constants
(C++11)
Regex Grammar
regex_error & operator = ( const regex_error & other ) noexcept ;
(C++11以降)

other の内容を代入します。 * this と other の両方が動的型 std::regex_error を持つ場合、代入後は std:: strcmp ( what ( ) , other. what ( ) ) == 0 となります。

パラメータ

その他 - 代入する別の regex_error オブジェクト

戻り値

* this

例