• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDECore

KTypeList< T, U > Struct Template Reference
[Typelist classes, algorithms and macros]

The building block of typelists of any length. More...

#include <ktypelist.h>

List of all members.


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

template<class T , class U >
typedef T KTypeList< T, U >::Head

first element, a non-typelist type by convention

Definition at line 456 of file ktypelist.h.

template<class T , class U >
typedef U KTypeList< T, U >::Tail

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:
  • ktypelist.h

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal