Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.02 KB

File metadata and controls

40 lines (32 loc) · 1.02 KB

format_error

  • format[meta header]
  • class[meta id-type]
  • std[meta namespace]
  • cpp20[meta cpp]
namespace std {
  class format_error : public runtime_error {
  public:
    explicit format_error(const string& what_arg);
    explicit format_error(const char* what_arg);
  };
}
  • string[link /reference/string/basic_string.md]

概要

<format>の各機能の失敗を表す例外クラス。ユーザー定義フォーマッターもこの例外を投げることができる。

メンバ関数

構築・破棄

名前 説明 対応バージョン
(constructor) コンストラクタ C++20

バージョン

言語

  • C++20

処理系

参照