std::regex_error::code
来自 cppreference.cn
< cpp | regex | regex error
| 在头文件 <regex> 中定义 |
||
| std::regex_constants::error_type code() const; |
(C++11 起) | |
返回传递给 std::regex_error 构造函数的 std::regex_constants::error_type。
[编辑] 参阅
| (C++11) |
描述不同类型的匹配错误 (typedef) |
构造一个 regex_error 对象(公共成员函数) |