报告错误 basic_regex 对象。
class regex_error
: public std::runtime_error {
public:
explicit regex_error(regex_constants::error_code error);
regex_constants::error_code code() const;
};
备注
类描述对象引发一个异常"报表了解 basic_regex 对象的构造或使用的错误。
要求
标头: <regex>
命名空间: std