KDECore
ktypelistutils.h File Reference
Go to the source code of this file.
Namespaces | |
| namespace | KDE |
Macros | |
| #define | NC(...) |
| #define | STATIC_EQUAL(type1, type2) |
| #define | STATIC_FOLD(List, Modifier, Start) |
| #define | STATIC_FOREACH(list, modifier) |
| #define | STATIC_IF(expr, T, U) |
| #define | STATIC_IF_EQUAL(T, U, V, W) |
Macro Definition Documentation
◆ NC
| #define NC | ( | ... | ) |
Value:
__VA_ARGS__
@File ktypelistutils.h Various templates to handle typelists in meta-programming.
Definition at line 32 of file ktypelistutils.h.
◆ STATIC_EQUAL
| #define STATIC_EQUAL | ( | type1, | |
| type2 ) |
◆ STATIC_FOLD
| #define STATIC_FOLD | ( | List, | |
| Modifier, | |||
| Start ) |
Value:
KTypeListFold< typenameList::Tail, Folder, typenameFolder< Start, typenameList::Head >::Result >::Result Result
Definition ktypelistutils.h:276
"Folds" the typelist.
If size(List) == 0: Start Else: Fold(List::Tail, Modifier, Modifier(Start, List::Head))
Definition at line 290 of file ktypelistutils.h.
◆ STATIC_FOREACH
| #define STATIC_FOREACH | ( | list, | |
| modifier ) |
Value:
KTypeList< typename Manip< typename Types::Head >::Result, typename KTypeListForeach< typename Types::Tail, Manip >::Result > Result
Definition ktypelistutils.h:178
Apply KTypeListForeach.
Definition at line 234 of file ktypelistutils.h.
◆ STATIC_IF
| #define STATIC_IF | ( | expr, | |
| T, | |||
| U ) |
Value:
typename KDE::IfThenElse<expr, T, U>::Result
If expr: T, else: U.
Definition at line 266 of file ktypelistutils.h.
◆ STATIC_IF_EQUAL
| #define STATIC_IF_EQUAL | ( | T, | |
| U, | |||
| V, | |||
| W ) |
This file is part of the KDE documentation.
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.