来自cppreference.com
| 在标头 <regex> 定义
|
||
std::regex_constants::error_type code() const;
|
(C++11 起) | |
返回传递给 std::regex_error 构造函数的 std::regex_constants::error_type 。
参阅
(C++11) |
描述不同类型的匹配错误 (typedef) |
构造 regex_error 对象 (公开成员函数) |