Poco

template < class Head, class Tail >

struct TypeList

File Information

Library: Foundation
Package: Core
Header: Poco/TypeList.h

Description

Compile Time List of Types

Member Summary

Member Functions: operator !=, operator <, operator =, operator ==

Types

ConstHeadType

typedef typename TypeWrapper < HeadType >::CONSTTYPE ConstHeadType;

ConstTailType

typedef typename TypeWrapper < TailType >::CONSTTYPE ConstTailType;

HeadType

typedef Head HeadType;

TailType

typedef Tail TailType;

Enumerations

Anonymous

length = TailType::length + 1

Constructors

TypeList inline

TypeList();

TypeList inline

TypeList(
    const TypeList & tl
);

TypeList inline

TypeList(
    ConstHeadType & h,
    ConstTailType & t
);

Member Functions

operator != inline

bool operator != (
    const TypeList & tl
) const;

operator < inline

bool operator < (
    const TypeList & tl
) const;

operator = inline

TypeList & operator = (
    const TypeList & tl
);

operator == inline

bool operator == (
    const TypeList & tl
) const;

Variables

head

HeadType head;

tail

TailType tail;