senf::function_arity< T > Struct Template Reference

Get arity of function T. More...

#include <senf/Utils/type_traits.hh>

Inheritance diagram for senf::function_arity< T >:

Detailed Description

template<class T>
struct senf::function_arity< T >

Get arity of function T.

T may be any function like type: function, pointer to function or (pointer to) member-function.

BOOST_STATIC_ASSERT(( senf::function_arity<void (Class::*)(int)>::value == 1 ));

Definition at line 247 of file type_traits.hh.


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