std::format_error
提供: cppreference.com
ヘッダ <format> で定義
|
||
class format_error; |
(C++20以上) | |
書式化ライブラリでエラーを報告するために投げられる例外オブジェクトの型を定義します。
目次 |
[編集] メンバ関数
コンストラクタ |
指定されたメッセージを使用して format_error オブジェクトを構築します。 (パブリックメンバ関数) |
std::format_error::format_error
explicit format_error( const std::string& what_arg ); |
(1) | |
explicit format_error( const char* what_arg ); |
(2) | |
what() を通してアクセスできる説明文字列として what_arg
を使用して例外オブジェクトを構築します。
std::exception から継承
メンバ関数
[仮想] |
例外オブジェクトを破棄します ( std::exception の仮想パブリックメンバ関数)
|
[仮想] |
説明文字列を返します ( std::exception の仮想パブリックメンバ関数)
|
[編集] 例
This section is incomplete Reason: no example |