Quick Links:

bal | bbl | bdl | bsl

Public Types

bslmf::Switch< t_SWITCH_SELECTOR, t_T0, t_T1, t_T2, t_T3, t_T4, t_T5, t_T6, t_T7, t_T8, t_T9 > Struct Template Reference

#include <bslmf_switch.h>

List of all members.

Public Types

typedef Nil Type

Detailed Description

template<size_t t_SWITCH_SELECTOR, class t_T0, class t_T1 = Nil, class t_T2 = Nil, class t_T3 = Nil, class t_T4 = Nil, class t_T5 = Nil, class t_T6 = Nil, class t_T7 = Nil, class t_T8 = Nil, class t_T9 = Nil>
struct bslmf::Switch< t_SWITCH_SELECTOR, t_T0, t_T1, t_T2, t_T3, t_T4, t_T5, t_T6, t_T7, t_T8, t_T9 >

This meta-function, parameterized by an integral t_SWITCH_SELECTOR and types t_T0 up to t_T9, provides a single type alias, Type, which resolves, through specialization for a particular value N of t_SWITCH_SELECTOR, to the type TN, or to Nil if t_SWITCH_SELECTOR is negative or larger than the number of template arguments provided for the types.

See Component bslmf_switch


Member Typedef Documentation

template<size_t t_SWITCH_SELECTOR, class t_T0, class t_T1 = Nil, class t_T2 = Nil, class t_T3 = Nil, class t_T4 = Nil, class t_T5 = Nil, class t_T6 = Nil, class t_T7 = Nil, class t_T8 = Nil, class t_T9 = Nil>
typedef Nil bslmf::Switch< t_SWITCH_SELECTOR, t_T0, t_T1, t_T2, t_T3, t_T4, t_T5, t_T6, t_T7, t_T8, t_T9 >::Type

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