|
5.0.0
Freundlich's C++ toolkit
|
Builds the complement of a fcppt::parse::basic_char_set parser.
Given the character set S, let p = fcppt::parse::basic_char_set{S}. If the next input character is c and c is not in S, then complement{p} returns c. Otherwise, complement{p} returns an error.
| Parser | Must be an fcppt::parse::basic_char_set |
Public Types | |
| using | result_type = fcppt::parse::result_of<Parser> |
Public Member Functions | |
| complement (Parser &&) | |
| template<typename Ch, typename Skipper> | |
| fcppt::parse::result< Ch, result_type > | parse (fcppt::reference< fcppt::parse::basic_stream< Ch > >, Skipper const &) const |
| using fcppt::parse::complement< Parser >::result_type = fcppt::parse::result_of<Parser> |
|
explicit |
|
nodiscard |