A template for producing a value of specific type of a sequence of entities from the input stream.
More...
template<typename Target_Type, typename Subitems_Tuple>
class restinio::easy_parser::impl::produce_t< Target_Type, Subitems_Tuple >
A template for producing a value of specific type of a sequence of entities from the input stream.
Creates a new empty object of type Target_Type in try_parse
and then call try_process
methods for every subitems. A reference to that new object is passed to every try_process
call.
- Template Parameters
-
Target_Type | the type of value to be produced. |
Subitems_Tuple | the type of std::tuple with items for every clause to be checked. |
- Since
- v.0.6.1
Definition at line 2009 of file easy_parser.hpp.