4.6.0
Freundlich's C++ toolkit
|
A product of two parsers.
This parser first applies its left parser and if that succeeds also applies its right parser. Use fcppt::options::apply to create a product of two or more parsers. The result type is a record that contains the elements of both Left and Right. Therefore, Left and Right must have disjoint label sets.
Public Types | |
using | result_type |
Public Member Functions | |
product (Left &&, Right &&) | |
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::product< Left, Right >::result_type |
fcppt::options::product< Left, Right >::product | ( | Left && | , |
Right && | ) |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |