4.6.0
Freundlich's C++ toolkit
|
An optional parser.
Wraps a parser such that it may fail. The result type is a record that adds one layer of fcppt::optional::object to the elements of the result type of Parser.
Public Types | |
using | result_type |
Public Member Functions | |
optional (Parser &&) | |
fcppt::options::parse_result< result_type > | parse (fcppt::options::state &&, fcppt::options::parse_context const &) const |
fcppt::options::flag_name_set | flag_names () const |
fcppt::options::option_name_set | option_names () const |
fcppt::options::usage | usage () const |
using fcppt::options::optional< Parser >::result_type |
|
explicit |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |