4.6.0
Freundlich's C++ toolkit
|
Parses a specific string and returns nothing.
For a string c_1...c_n
, the parser basic_string{c_1...c_n}
succeeds if the next inputs characters are c_1, ..., c_n. Otherwise, an error is returned. This parser returns fcppt::unit on success.
Public Types | |
using | result_type = fcppt::unit |
Public Member Functions | |
basic_string (std::basic_string< 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_string< Ch >::result_type = fcppt::unit |
|
explicit |
|
nodiscard |