在线文档教程
C++
规律表达 | Regular expressions

std::regex_error::code

STD::regex[医]错误::代码

Defined in header
std::regex_constants::error_type code() const;(since C++11)

返回std::regex_constants::error_type传递给std::regex_error构造函数

另见

error_type (C++11)describes different types of matching errors (typedef)
(constructor)constructs a regex_error object (public member function)

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/regex/regex[医]错误/代码