RESTinio
Loading...
Searching...
No Matches
restinio::router::easy_parser_router::impl::dsl_processor< Args > Struct Template Reference

The main meta-function for processing route DSL. More...

#include <easy_parser_router.hpp>

Public Types

using arg_types
using result_tuple = dsl_details::detect_result_tuple_t< arg_types >
using clauses_tuple = dsl_details::make_clauses_types_t< arg_types >

Detailed Description

template<typename... Args>
struct restinio::router::easy_parser_router::impl::dsl_processor< Args >

The main meta-function for processing route DSL.

It takes types of user-supplied clauses/produces and makes two types:

  • result_tuple. This is a type of std::tuple for holding all values produced by producers from Args. This tuple can be an empty tuple.
  • clauses_tuple. This a type of std::tuple with clauses for parsing of a user's route.
Since
v.0.6.6

Definition at line 513 of file easy_parser_router.hpp.

Member Typedef Documentation

◆ arg_types

template<typename... Args>
using restinio::router::easy_parser_router::impl::dsl_processor< Args >::arg_types
Initial value:
meta::transform_t<
dsl_details::special_decay, meta::type_list<Args...> >
A special analog of std::decay meta-function that is handles array differently.

Definition at line 517 of file easy_parser_router.hpp.

◆ clauses_tuple

Definition at line 522 of file easy_parser_router.hpp.

◆ result_tuple

Definition at line 520 of file easy_parser_router.hpp.


The documentation for this struct was generated from the following file: