const char* what() const noexcept override; // (1) C++20
constexpr const char* what() const noexcept override; // (1) C++26
概要
エラー理由となる実装依存文字列を取得する。
例外
投げない
関連項目
参照
- P3378R2
constexpr
exception types- C++26で
constexpr
対応した
- C++26で
const char* what() const noexcept override; // (1) C++20
constexpr const char* what() const noexcept override; // (1) C++26
エラー理由となる実装依存文字列を取得する。
投げない
constexpr
exception typesconstexpr
対応した