4.6.0
Freundlich's C++ toolkit
|
Parses a specific character and returns nothing.
For a character c, the parser basic_literal{c}
succeeds if the next input character is c. Otherwise, an error is returned. This parser returns fcppt::unit on success.
Public Types | |
using | result_type = fcppt::unit |
Public Member Functions | |
basic_literal (Ch) | |
template<typename Skipper > | |
fcppt::parse::result< Ch, result_type > | parse (fcppt::reference< fcppt::parse::basic_stream< Ch > >, Skipper const &) const |
using fcppt::parse::basic_literal< Ch >::result_type = fcppt::unit |
|
explicit |
|
nodiscard |