libstdc++: std::regex_error Class Reference (original) (raw)
#include <[regex](a00176%5Fsource.html)>
Inheritance diagram for std::regex_error:
Public Member Functions | |
---|---|
regex_error (error_type __ecode) | |
regex_constants::error_type | code () const noexcept |
virtual const char * | what () const noexcept |
Detailed Description
A regular expression exception class.
The regular expression library throws objects of this class on error.
Since
C++11
Definition at line 137 of file regex_error.h.
Constructor & Destructor Documentation
std::regex_error::regex_error ( error_type __ecode) | explicit |
---|
Constructs a regex_error object.
Parameters
__ecode | the regex error code. |
---|
Member Function Documentation
◆ code()
Gets the regex error code.
Returns
the regex error code.
Definition at line 160 of file regex_error.h.
◆ what()
virtual const char * std::runtime_error::what ( ) const | virtualnoexceptinherited |
---|
The documentation for this class was generated from the following file: