• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.3 API Reference
  • KDE Home
  • Contact Us
 

KDECore

Public Types | List of all members
KTypeList< T, U > Struct Template Reference
Typelist classes, algorithms and macros

#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
Tthe head of the type list
Uthe 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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Thu Nov 13 2014 08:29:17 by doxygen 1.8.8 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

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

kdelibs-4.14.3 API Reference

Skip menu "kdelibs-4.14.3 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal