std::regex_error(3)
NAME
std::regex_error
SYNOPSIS
Inherits std::runtime_error.
Detailed Description
Defines the exception objects thrown report errors from the regular
expression library.
- Definition at line 314 of file tr1_impl/regex.
- Public Member Functions
- regex_constants::error_type code () const regex_error (regex_constants::error_type __ecode) virtual const char * what () const throw ()
- Protected Attributes
- regex_constants::error_type _M_code
Constructor & Destructor Documentation
- std::regex_error::regex_error (regex_constants::error_type __ecode)
- [inline, explicit]
constructs a regex_error object. - Parameters:
ecode the regex error code.
- Definition at line 324 of file tr1_impl/regex.
Member Function Documentation
- regex_constants::error_type std::regex_error::code () const [inline]
- gets the regex error code.
- Returns:
the regex error code.
- Definition at line 334 of file tr1_impl/regex.
- 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.
Author
- Generated automatically by Doxygen for libstdc++ from the source code.