...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::xpressive::regex_error — The class regex_error defines the type of objects thrown as exceptions to report errors during the conversion from a string representing a regular expression to a finite state machine.
// In header: <boost/xpressive/regex_error.hpp> struct regex_error : public std::runtime_error, public exception { // construct/copy/destruct explicit regex_error(regex_constants::error_type, char const * = ""); ~regex_error(); // public member functions regex_constants::error_type code() const; };
regex_error
public
construct/copy/destructexplicit regex_error(regex_constants::error_type code, char const * str = "");
Constructs an object of class regex_error
.
Parameters: |
|
||||
Postconditions: |
code() == code |
~regex_error();
Destructor for class regex_error
Throws: |
Will not throw. |