Ardour  9.0-pre0-582-g084a23a80d
FuncTraits< MemFn, D > Struct Template Reference

#include <FuncTraits.h>

Detailed Description

template<class MemFn, class D = MemFn>
struct FuncTraits< MemFn, D >

Traits for function pointers.

There are three types of functions: global, non-const member, and const member. These templates determine the type of function, which class type it belongs to if it is a class member, the const-ness if it is a member function, and the type information for the return value and argument list.

Expansions are provided for functions with up to 8 parameters. This can be manually extended, or expanded to an arbitrary amount using C++11 features.

Definition at line 58 of file FuncTraits.h.


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