BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslmf::NthParameter< t_N, t_FIRST_PARAM, t_PARAMS > Struct Template Reference

#include <bslmf_nthparameter.h>

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.

Member Typedef Documentation

◆ Type

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 type of the Nth parameter, computed by recursively stripping off the first parameter until t_N == 0.


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