Spec-Zone.ru › C++

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/w/cpp/regex/regex_error/operator%3D

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API