Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct regex_error

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.

Synopsis

// In header: <boost/xpressive/regex_error.hpp>


struct regex_error : public , public  {
  // construct/copy/destruct
  (,  = "");
  ~();

  // public member functions
   () ;
};

Description

regex_error public construct/copy/destruct

  1. ( code,  str = "");

    Constructs an object of class regex_error.

    Parameters:

    code

    The error_type this regex_error represents.

    str

    The message string of this regex_error.

    Postconditions:

    code() == code

  2. ~();

    Destructor for class regex_error

    Throws:

    Will not throw.

regex_error public member functions

  1.  () ;

    Accessor for the error_type value

    Returns:

    the error_type code passed to the constructor

    Throws:

    Will not throw.

PrevUpHomeNext