Spec-Zone.ru › C++

std::bad_exception::operator=

bad_exception& operator=( const bad_exception& other ) throw();
(до C++11)
bad_exception& operator=( const bad_exception& other ) noexcept;
(с C++11)

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

Параметры

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

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

*this.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/error/bad_exception/operator%3D

Spec-Zone.ru

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