std::regex_error::regex_error

From Cppreference

Jump to: navigation, search
Defined in header <regex_error>

regex_error(regex_constants::error_type ecode);
(1) (C++11 feature)

1) Constructs a regex_error with std::regex_constants::error_type ecode.