KDECore
KTypeList< T, U > Struct Template Reference
#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
first element, a non-typelist type by convention
Definition at line 456 of file ktypelist.h.
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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.