std::regex_error Class Reference
[Regular Expressions]

Inheritance diagram for std::regex_error:

Inheritance graph

List of all members.


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

Protected Attributes


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.


The documentation for this class was generated from the following file:

Generated on Sat Dec 12 09:40:38 2009 for libstdc++ by  doxygen 1.5.6