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
struct regex_error : public std::runtime_error, public exception {
explicit regex_error(regex_constants::error_type, char const * = "");
~regex_error();
regex_constants::error_type code() const;
};
Description
regex_error
public
construct/copy/destruct
- <
explicitregex_error(regex_constants::error_typecode,charconst*str="");
>Построение объекта класса<regex_error>.
Параметры: | |
Постусловия: | код() == код |
- <
~regex_error();
>Разрушитель для класса<regex_error>
regex_error public member functions
- <
regex_constants::error_typecode()const;
>Аксессуар для значения ошибки_типа
Возврат: | код ошибки_типа, переданный конструктору |
Бросок: | Не бросит |
.