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 ;
(начиная с C++11)

Присваивает содержимое из other . Если * this и other оба имеют динамический тип std::regex_error , то после присваивания std:: strcmp ( what ( ) , other. what ( ) ) == 0 .

Параметры

other - другой regex_error объект для присваивания

Возвращаемое значение

* this

Пример