walberla::FunctionTraits< F > Struct Template Reference

Detailed Description

template<typename F>
struct walberla::FunctionTraits< F >

Gives a function's return type as well as the number and type of arguments accepted by a function.

This variadic template substitutes <boost/function_traits>.

Usage: FunctionTraits<F>::return_type Type returned by function type F. FunctionTraits<F>::arity Number of arguments accepted by function type F. FunctionTraits<F>::argument<N> Type of the Nth argument of function type F with 0 <= N < arity of F.

#include <FunctionTraits.h>


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