Electroneum
Public Types | Static Public Attributes | List of all members
crow::utility::function_traits< T > Struct Template Reference

#include <utility.h>

Collaboration diagram for crow::utility::function_traits< T >:
Collaboration graph
[legend]

Public Types

using parent_t = function_traits< decltype(&T::operator())>
 
using result_type = typename parent_t::result_type
 
template<size_t i>
using arg = typename parent_t::template arg< i >
 

Static Public Attributes

static const size_t arity = parent_t::arity
 

Member Typedef Documentation

◆ arg

template<typename T >
template<size_t i>
using crow::utility::function_traits< T >::arg = typename parent_t::template arg<i>

◆ parent_t

template<typename T >
using crow::utility::function_traits< T >::parent_t = function_traits<decltype(&T::operator())>

◆ result_type

template<typename T >
using crow::utility::function_traits< T >::result_type = typename parent_t::result_type

Member Data Documentation

◆ arity

template<typename T >
const size_t crow::utility::function_traits< T >::arity = parent_t::arity
static

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