error_type
-
typedef implementation_specific_type error_type
型
error_type
は、正規表現解析時にライブラリが発生させる可能性のある様々な種類のエラーを表す。
概要
namespace boost{ namespace regex_constants{
typedef implementation-specific-type error_type;
static const error_type error_collate;
static const error_type error_ctype;
static const error_type error_escape;
static const error_type error_backref;
static const error_type error_brack;
static const error_type error_paren;
static const error_type error_brace;
static const error_type error_badbrace;
static const error_type error_range;
static const error_type error_space;
static const error_type error_badrepeat;
static const error_type error_complexity;
static const error_type error_stack;
static const error_type error_bad_pattern;
} // namespace regex_constants
} // namespace boost
説明
型 error_type
は以下のいずれかの値をとる実装固有の列挙型である。
定数 |
意味 |
---|---|
|
|
|
|
|
不正なエスケープか本体のないエスケープが見つかった。 |
|
存在しないマーク済み部分式への後方参照が見つかった。 |
|
不正な文字集合 |
|
|
|
|
|
|
|
文字範囲が不正(例 |
|
メモリ不足。 |
|
繰り返し不能なものを繰り返そうとした(例 |
|
式が複雑で処理できなかった。 |
|
プログラムのスタック空間不足。 |
|
その他のエラー。 |