c++-gtk-utils
|
Struct for automatic typing of function parameter arguments. More...
#include <c++-gtk-utils/param.h>
Public Types | |
typedef const T & | ParamType |
Struct for automatic typing of function parameter arguments.
This struct uses template partial specialisation in order to provide automatic type mapping for function arguments. It is used by the unbound arguments of callback objects and their related functors and emitter objects.
Mapping is as follows:
A value argument is mapped to reference to const of the value type.
A pointer argument is mapped to pointer argument (its original type).
A non-const reference argument is mapped to non-const reference (its original type).
A const reference argument is mapped to const reference (its original type).
typedef const T& Cgu::Param< T >::ParamType |