c++-gtk-utils
Cgu::TypeTuple< T1, T2, T3, T4, T5 > Class Template Reference

Struct type to provide unbound arguments for Callback::CallbackArg objects. More...

#include <c++-gtk-utils/param.h>

Detailed Description

template<class T1 = void, class T2 = void, class T3 = void, class T4 = void, class T5 = void>
class Cgu::TypeTuple< T1, T2, T3, T4, T5 >

Struct type to provide unbound arguments for Callback::CallbackArg objects.

This struct is used with template partial specialisation of Callback::CallbackArg, Callback::FunctorArg and EmitterArg objects to enable them to take up to five unbound arguments, although at present these classes are only specialised to take two or three unbound arguments. This struct has no members and is never instantiated: it is just used as a placeholder for its contained types.

As the compiled part of this library does not use this struct (it just makes it available), the advantage of specialising the (single) template type of Callback::CallbackArg, Callback::FunctorArg and EmitterArg via this struct, rather than specialising them directly, is that this struct can be extended (or have Loki-like typelists substituted) without breaking binary compatibility. The types have default type values of void, indicating no argument, so this struct is capable of representing any number of arguments from 0 to 5.

Since 1.2.10


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