senf::function_traits_remove_arg< Traits, arity > Struct Template Reference

Strip first parameter from function traits. More...

#include <senf/Utils/type_traits.hh>

Detailed Description

template<class Traits, unsigned arity = Traits::arity>
struct senf::function_traits_remove_arg< Traits, arity >

Strip first parameter from function traits.

This meta-function will remove the first argument from Traits. The return value is a new function trait with one less argument.

If the function described in Traits does not take any arguments, it is returned unchanged.

typedef boost::function_traits<void (int, double)> traits
BOOST_STATIC_ASSERT(( boost::is_same<
boost::function_traits<void (double)>
>::value ));
    \tparam Traits \c boost::function_traits instantiation

Definition at line 60 of file type_traits.hh.


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