std::regex_error:: regex_error
From cppreference.net
<
cpp
|
regex
|
regex error
|
ヘッダーで定義
<regex>
|
||
|
regex_error
(
std::
regex_constants
::
error_type
ecode
)
;
|
(1) | (C++11以降) |
|
regex_error
(
const
regex_error
&
other
)
;
|
(2) | (C++11以降) |
2)
コピーコンストラクタ。
other
の内容で初期化する。
*
this
と
other
の両方が動的型
std::regex_error
を持つ場合、
std::
strcmp
(
what
(
)
, other.
what
(
)
)
==
0
となる。
パラメータ
| ecode | - | 正規表現解析で発生したエラーを示すエラーコード |
| other | - |
コピーする別の
regex_error
オブジェクト
|
関連項目
|
(C++11)
|
マッチングエラーの異なる型を記述する
(typedef) |