Quick Links:

bal | bbl | bdl | bsl

Public Types

bslmf::NthParameter< t_N, t_FIRST_PARAM, t_PARAMS > Struct Template Reference

#include <bslmf_nthparameter.h>

List of all members.

Public Types

typedef NthParameter< t_N-1,
t_PARAMS...>::Type 
Type

Detailed Description

template<std::size_t t_N, class t_FIRST_PARAM = NthParameter_Sentinel, class... t_PARAMS>
struct bslmf::NthParameter< t_N, t_FIRST_PARAM, t_PARAMS >

Metafunction to compute the specified t_Nth element of the specified t_PARAMS template parameter pack. The Type nested typedef will match the t_Nth element of t_PARAMS, where t_N is zero-based (so that an t_N of zero corresponds to the first parameter.

See Component bslmf_nthparameter


Member Typedef Documentation

template<std::size_t t_N, class t_FIRST_PARAM = NthParameter_Sentinel, class... t_PARAMS>
typedef NthParameter<t_N - 1, t_PARAMS...>::Type bslmf::NthParameter< t_N, t_FIRST_PARAM, t_PARAMS >::Type

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