std::future_error::operator=
future_error& operator=( const future_error& other ) noexcept; | (since C++11) |
Присваивает содержимое объекта other. Если *this и other оба имеют динамический тип std::future_error, то std::strcmp(what(), other.what()) == 0 после присваивания.
Параметры
| other | - | другой объект future_error для присваивания |
Возвращаемое значение
*this
Пример
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/thread/future_error/operator%3D