Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 992 Bytes

File metadata and controls

37 lines (24 loc) · 992 Bytes

operator=

  • 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++26

概要

underflow_errorオブジェクトを代入する。

  • (1) : コピー代入。この代入演算子は暗黙的に定義される

戻り値

*this

備考

  • 代入後、what()が返す文字列は、代入元のオブジェクトのものと同じになる

例外

投げない

関連項目

参照