Namespaces
Variants

std::regex_error:: regex_error

From cppreference.net
Regular expressions library
Classes
(C++11)
Algorithms
Iterators
Exceptions
Traits
Constants
(C++11)
Regex Grammar
ヘッダーで定義 <regex>
(1) (C++11以降)
regex_error ( const regex_error & other ) ;
(2) (C++11以降)
1) 指定された型 ecode std::regex_constants::error_type を持つ regex_error を構築します。
2) コピーコンストラクタ。 other の内容で初期化する。 * this other の両方が動的型 std::regex_error を持つ場合、 std:: strcmp ( what ( ) , other. what ( ) ) == 0 となる。

パラメータ

ecode - 正規表現解析で発生したエラーを示すエラーコード
other - コピーする別の regex_error オブジェクト

関連項目

(C++11)
マッチングエラーの異なる型を記述する
(typedef)