4.6.0
Freundlich's C++ toolkit
|
Negates the result of a parser, returns nothing.
If the parser p returns a value, then not_{p}
fails. Otherwise, if p fails, then not_{p}
returns fcppt::unit.
Parser | A parser that returns nothing. |
Public Types | |
using | result_type = fcppt::unit |
Public Member Functions | |
not_ (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::not_< Parser >::result_type = fcppt::unit |
|
explicit |
|
nodiscard |