KDECore
KTypeList< T, U > Struct Template Reference
[Typelist classes, algorithms and macros]
The building block of typelists of any length.
More...
#include <ktypelist.h>
Public Types | |
typedef T | Head |
typedef U | Tail |
Detailed Description
template<class T, class U>
struct KTypeList< T, U >
The building block of typelists of any length.
Rather than using it directly, you should use it through the KMakeTypeList template class or one of the K_TYPELIST_NN macros, such as K_TYPELIST_3().
This struct defines two nested types:
- Head (first element, a non-typelist type by convention), is the same as the type parameter
T
. - Tail (second element, must be either another typelist or KDE::NullType), is the same as the type parameter
U
.
- Parameters:
-
T the head of the type list U the tail of the type list
Definition at line 453 of file ktypelist.h.
Member Typedef Documentation
second element, must be either another typelist or KDE::NullType
Definition at line 458 of file ktypelist.h.
The documentation for this struct was generated from the following file: