Definition at line 314 of file tr1_impl/regex.
std::regex_error::regex_error | ( | regex_constants::error_type | __ecode | ) | [inline, explicit] |
constructs a regex_error object.
ecode | the regex error code. |
Definition at line 324 of file tr1_impl/regex.
regex_constants::error_type std::regex_error::code | ( | ) | const [inline] |
gets the regex error code.
Definition at line 334 of file tr1_impl/regex.
References _M_code.
virtual const char* std::runtime_error::what | ( | ) | const throw () [virtual, inherited] |
Returns a C-style character string describing the general cause of the current error (the same string passed to the ctor).
Reimplemented from std::exception.