Crow  1.0
A C++ microframework for the web
crow::detail::partial_context< Middlewares > Struct Template Reference
Inheritance diagram for crow::detail::partial_context< Middlewares >:
Collaboration diagram for crow::detail::partial_context< Middlewares >:

Public Types

using parent_context = typename black_magic::pop_back< Middlewares... >::template rebind<::crow::detail::partial_context >
 
template<int N>
using partial = typename std::conditional< N==sizeof...(Middlewares) - 1, partial_context, typename parent_context::template partial< N > >::type
 

Public Member Functions

template<typename T >
T::context & get ()
 

Member Typedef Documentation

◆ parent_context

template<typename... Middlewares>
using crow::detail::partial_context< Middlewares >::parent_context = typename black_magic::pop_back<Middlewares...>::template rebind<::crow::detail::partial_context>

◆ partial

template<typename... Middlewares>
template<int N>
using crow::detail::partial_context< Middlewares >::partial = typename std::conditional<N == sizeof...(Middlewares) - 1, partial_context, typename parent_context::template partial<N> >::type

Member Function Documentation

◆ get()

template<typename... Middlewares>
template<typename T >
T::context& crow::detail::partial_context< Middlewares >::get ( )
inline

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