Namespaces
Variants

std::regex_error:: operator=

From es.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 ;
(desde C++11)

Asigna el contenido con el de other . Si * this y other ambos tienen el tipo dinámico std::regex_error entonces std:: strcmp ( what ( ) , other. what ( ) ) == 0 después de la asignación.

Parámetros

otro - otro objeto regex_error para asignar

Valor de retorno

* this

Ejemplo