4.6.0
Freundlich's C++ toolkit
|
Ignores the result of a parser.
If the parser p returns s on success, then ignore{s}
returns fcppt::unit. Errors returned by p remain unchanged.
Public Types | |
using | result_type = fcppt::unit |
Public Member Functions | |
ignore (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::ignore< Parser >::result_type = fcppt::unit |
|
explicit |
|
nodiscard |