Quick Links:

bal | bbl | bdl | bsl

Public Types

bslmf::TypeListTypeOf< t_INDEX, t_LIST, t_DEFAULTTYPE, t_INRANGE > Struct Template Reference

#include <bslmf_typelist.h>

List of all members.

Public Types

enum  { LENGTH = ListType::LENGTH }
typedef t_LIST ListType
typedef t_DEFAULTTYPE TypeOrDefault

Detailed Description

template<int t_INDEX, class t_LIST, class t_DEFAULTTYPE = Nil, int t_INRANGE = ((1 <= t_INDEX && t_INDEX <= (int)t_LIST::LENGTH) ? 1 : 0)>
struct bslmf::TypeListTypeOf< t_INDEX, t_LIST, t_DEFAULTTYPE, t_INRANGE >

This template is specialized below to return the type the t_INDEXth member of the typelist t_LIST. If 1 <= t_INDEX <= t_LIST::LENGTH then Type will be defined as the type of the member. Note that t_INDEX is relative to 1.

See Component bslmf_typelist


Member Typedef Documentation

template<int t_INDEX, class t_LIST, class t_DEFAULTTYPE = Nil, int t_INRANGE = ((1 <= t_INDEX && t_INDEX <= (int)t_LIST::LENGTH) ? 1 : 0)>
typedef t_LIST bslmf::TypeListTypeOf< t_INDEX, t_LIST, t_DEFAULTTYPE, t_INRANGE >::ListType
template<int t_INDEX, class t_LIST, class t_DEFAULTTYPE = Nil, int t_INRANGE = ((1 <= t_INDEX && t_INDEX <= (int)t_LIST::LENGTH) ? 1 : 0)>
typedef t_DEFAULTTYPE bslmf::TypeListTypeOf< t_INDEX, t_LIST, t_DEFAULTTYPE, t_INRANGE >::TypeOrDefault

Member Enumeration Documentation

template<int t_INDEX, class t_LIST, class t_DEFAULTTYPE = Nil, int t_INRANGE = ((1 <= t_INDEX && t_INDEX <= (int)t_LIST::LENGTH) ? 1 : 0)>
anonymous enum
Enumerator:
LENGTH 

The documentation for this struct was generated from the following file: