std::regex_error::regex_error
来自cppreference.com
| 在标头 <regex> 定义
|
||
| |
(1) | (C++11 起) |
| |
(2) | (C++11 起) |
1) 以给定 std::regex_constants::error_type 类型的
ecode 构造 regex_error。2) 复制构造函数。以
other 的内容初始化内容。若 *this 与 other 均拥有动态类型 std::regex_error 则 std::strcmp(what(), other.what()) == 0。参数
| ecode | - | 指示正则表达式分析中引发的错误的错误码 |
| other | - | 要复制的另一 regex_error 对象
|
参阅
(C++11) |
描述不同类型的匹配错误 (typedef) |