Namespaces
Variants

std::regex_error:: operator=

From 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 ;
(depuis C++11)

Assigne le contenu avec celui de other . Si * this et other ont tous deux le type dynamique std::regex_error alors std:: strcmp ( what ( ) , other. what ( ) ) == 0 après l'assignation.

Paramètres

autre - un autre regex_error objet à assigner

Valeur de retour

* this

Exemple