cppreference.com
アカウント作成
ログイン
名前空間
ページ
ノート
変種
表示
表示
編集
履歴
操作
std::bad_exception::
what
From cppreference.com
<
cpp
|
error
|
bad exception
C++
コンパイラサポート
フリースタンディングとホスト
言語
標準ライブラリ
標準ライブラリヘッダー
名前付き要件
機能テストマクロ
(C++20)
言語サポートライブラリ
コンセプトライブラリ
(C++20)
診断ライブラリ
メモリ管理ライブラリ
メタプログラミングライブラリ
(C++11)
汎用ユーティリティライブラリ
コンテナライブラリ
イテレータライブラリ
Rangesライブラリ
(C++20)
アルゴリズムライブラリ
文字列ライブラリ
テキスト処理ライブラリ
数値ライブラリ
日付と時刻ライブラリ
入出力ライブラリ
ファイルシステムライブラリ
(C++17)
並行サポートライブラリ
(C++11)
実行制御ライブラリ
(C++26)
Technical specifications (技術仕様)
シンボルインデックス
外部ライブラリ
[編集]
ユーティリティライブラリ
言語サポート
型のサポート
(基本型、RTTI)
ライブラリ機能検査マクロ
(C++20)
プログラムユーティリティ
可変引数関数
initializer_list
(C++11)
is_constant_evaluated
(C++20)
is_within_lifetime
(C++26)
source_location
(C++20)
コルーチンサポート
(C++20)
契約サポート
(C++26)
三方比較
three_way_comparable
three_way_comparable_with
(C++20)
(C++20)
strong_ordering
(C++20)
weak_ordering
(C++20)
partial_ordering
(C++20)
common_comparison_category
(C++20)
compare_three_way_result
(C++20)
compare_three_way
(C++20)
strong_order
(C++20)
weak_order
(C++20)
partial_order
(C++20)
compare_strong_order_fallback
(C++20)
compare_weak_order_fallback
(C++20)
compare_partial_order_fallback
(C++20)
is_eq
is_lt
is_lteq
(C++20)
(C++20)
(C++20)
is_neq
is_gt
is_gteq
(C++20)
(C++20)
(C++20)
汎用ユーティリティ
関数オブジェクト
ビット操作
(C++20)
bitset
hash
(C++11)
関係演算子
(C++20で非推奨)
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
整数比較関数
cmp_equal
cmp_less
cmp_less_than
(C++20)
(C++20)
(C++20)
cmp_not_equal
cmp_greater
cmp_greater_than
(C++20)
(C++20)
(C++20)
in_range
(C++20)
スワップ
と
型操作
swap
ranges::swap
(C++20)
exchange
(C++14)
declval
(C++11)
to_underlying
(C++23)
forward
(C++11)
forward_like
(C++23)
move
(C++11)
move_if_noexcept
(C++11)
as_const
(C++17)
共通語彙型
pair
tuple
(C++11)
optional
(C++17)
any
(C++17)
variant
(C++17)
tuple_size
(C++11)
tuple_element
(C++11)
apply
(C++17)
make_from_tuple
(C++17)
expected
(C++23)
[編集]
診断ライブラリ
例外処理
exception
uncaught_exception
uncaught_exceptions
(
C++20まで*
)
(C++17)
exception_ptr
(C++11)
make_exception_ptr
(C++11)
current_exception
(C++11)
rethrow_exception
(C++11)
nested_exception
(C++11)
throw_with_nested
(C++11)
rethrow_if_nested
(C++11)
例外処理の失敗
terminate
terminate_handler
get_terminate
(C++11)
set_terminate
bad_exception
unexpected
(
C++17まで*
)
unexpected_handler
(
C++17まで*
)
get_unexpected
(
C++17まで*
)
set_unexpected
(
C++17まで*
)
エラー番号
エラーコード
errno
アサーション
assert
例外カテゴリ
logic_error
invalid_argument
domain_error
length_error
out_of_range
runtime_error
range_error
overflow_error
underflow_error
tx_exception
(TM TS)
システムエラー
error_category
(C++11)
generic_category
(C++11)
system_category
(C++11)
error_condition
(C++11)
errc
(C++11)
error_code
(C++11)
system_error
(C++11)
スタックトレース
stacktrace_entry
(C++23)
basic_stacktrace
(C++23)
デバッグサポート
is_debugger_present
(C++26)
breakpoint_if_debugging
(C++26)
breakpoint
(C++26)
[編集]
std::bad_exception
メンバ関数
bad_exception::bad_exception
bad_exception::operator=
bad_exception::what
[編集]
virtual
const
char
*
what
(
)
const
noexcept
;
(C++26 以降 constexpr)
説明文字列を返します。
[
編集
]
パラメータ
(なし)
[
編集
]
戻り値
説明情報を含むヌル終端文字列へのポインタ。
English
日本語
中文(简体)
中文(繁體)