Crow  1.0
A C++ microframework for the web
crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped > Struct Template Reference
Collaboration diagram for crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped >:

Classes

struct  handler_type_helper
 
struct  handler_type_helper< const request &, Args... >
 
struct  handler_type_helper< const request &, response &, Args... >
 
struct  req_handler_wrapper
 

Public Member Functions

template<typename... Args>
void set_ (Func f, typename std::enable_if<!std::is_same< typename std::tuple_element< 0, std::tuple< Args..., void >>::type, const request & >::value, int >::type=0)
 
template<typename... Args>
void set_ (Func f, typename std::enable_if< std::is_same< typename std::tuple_element< 0, std::tuple< Args..., void >>::type, const request & >::value &&!std::is_same< typename std::tuple_element< 1, std::tuple< Args..., void, void >>::type, response & >::value, int >::type=0)
 
template<typename... Args>
void set_ (Func f, typename std::enable_if< std::is_same< typename std::tuple_element< 0, std::tuple< Args..., void >>::type, const request & >::value &&std::is_same< typename std::tuple_element< 1, std::tuple< Args..., void, void >>::type, response & >::value, int >::type=0)
 
void operator() (request &req, response &res, const routing_params &params)
 

Public Attributes

handler_type_helper< ArgsWrapped... >::type handler_
 

Member Function Documentation

◆ set_() [1/3]

template<typename Func , typename... ArgsWrapped>
template<typename... Args>
void crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped >::set_ ( Func  f,
typename std::enable_if<!std::is_same< typename std::tuple_element< 0, std::tuple< Args..., void >>::type, const request & >::value, int >::type  = 0 
)
inline

◆ set_() [2/3]

template<typename Func , typename... ArgsWrapped>
template<typename... Args>
void crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped >::set_ ( Func  f,
typename std::enable_if< std::is_same< typename std::tuple_element< 0, std::tuple< Args..., void >>::type, const request & >::value &&!std::is_same< typename std::tuple_element< 1, std::tuple< Args..., void, void >>::type, response & >::value, int >::type  = 0 
)
inline

◆ set_() [3/3]

template<typename Func , typename... ArgsWrapped>
template<typename... Args>
void crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped >::set_ ( Func  f,
typename std::enable_if< std::is_same< typename std::tuple_element< 0, std::tuple< Args..., void >>::type, const request & >::value &&std::is_same< typename std::tuple_element< 1, std::tuple< Args..., void, void >>::type, response & >::value, int >::type  = 0 
)
inline

◆ operator()()

template<typename Func , typename... ArgsWrapped>
void crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped >::operator() ( request req,
response res,
const routing_params &  params 
)
inline

Member Data Documentation

◆ handler_

template<typename Func , typename... ArgsWrapped>
handler_type_helper<ArgsWrapped...>::type crow::detail::routing_handler_call_helper::Wrapped< Func, ArgsWrapped >::handler_

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