Ubuntu Manpages

Inherits runtime_error.


regex_error (regex_constants::error_type __ecode)
regex_constants::error_type code () const

A regular expression exception class.

The regular expression library throws objects of this class on error.

Definition at line 136 of file regex_error.h.

Constructs a regex_error object.

Parameters:

__ecode the regex error code.

regex_constants::error_type std::regex_error::code () const [inline]

Gets the regex error code.

Returns:

the regex error code.

Definition at line 157 of file regex_error.h.

Generated automatically by Doxygen for libstdc++ from the source code.