std::regex_error::operator=
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
Пример
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/regex/regex_error/operator%3D