- stdexcept[meta header]
- std[meta namespace]
- underflow_error[meta class]
- function[meta id-type]
underflow_error& operator=(const underflow_error&) noexcept; // (1) C++98
constexpr underflow_error& operator=(const underflow_error&) noexcept; // (1) C++26underflow_errorオブジェクトを代入する。
- (1) : コピー代入。この代入演算子は暗黙的に定義される
*this
- 代入後、
what()が返す文字列は、代入元のオブジェクトのものと同じになる
投げない
- P3378R2
constexprexception types- C++26で
constexpr対応した
- C++26で