tl::IndexOf< TypeList< Head, Tail >, T > Struct Template Reference

Index of type in TypeList. More...

#include <TypeList.h>


Public Types

enum  { value = (temp == - 1) ? -1 : temp + 1 }

Private Types

 temp = IndexOf< Tail
 Recurisevely search tail.
 value = (temp == - 1) ? -1 : temp + 1
 Index of the type we are looking for.
enum  { temp = IndexOf< Tail, value = (temp == - 1) ? -1 : temp + 1 }


Detailed Description

template<class Head, class Tail, class T>
struct tl::IndexOf< TypeList< Head, Tail >, T >

Index of type in TypeList.

General case. Recursive "call" to the specialized versions. Index of type is returned in value.


Member Enumeration Documentation

template<class Head, class Tail, class T>
anonymous enum [private]

Enumerator:
temp  Recurisevely search tail.
value  Index of the type we are looking for.

template<class Head, class Tail, class T>
anonymous enum

Enumerator:
value  Index of the type we are looking for.


The documentation for this struct was generated from the following file:
Generated on Tue Dec 19 17:43:49 2006 for Load Monitor for Linux by  doxygen 1.4.7