regex_error クラス

無効な basic_regex オブジェクトを報告します。

class regex_error
    : public std::runtime_error {
public:
    explicit regex_error(regex_constants::error_code error);
    regex_constants::error_code code() const;
    };

解説

このクラスは、basic_regex オブジェクトの構築時または使用時に発生したエラーを報告するためにスローされる例外オブジェクトを表します。

必要条件

ヘッダー : <regex>

名前空間: std

参照

関連項目

<regex>

regex_error クラス

その他の技術情報

<regex> メンバー