Spec-Zone.ru › C++

std::future_error::operator=

future_error& operator=( const future_error& other ) noexcept;
(начиная с 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/cpp/thread/future_error/operator%3D

Spec-Zone.ru

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