[#BloombergLP-bslmf-NthParameter-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::NthParameter :relfileprefix: ../../ :mrdocs: Metafunction to compute the specified `t_N`th element of the specified `t_PARAMS` template parameter pack. The `Type` nested typedef will match the `t_N`th element of `t_PARAMS`, where `t_N` is zero‐based (so that an `t_N` of zero corresponds to the first parameter. == Synopsis Declared in `<bslmf_nthparameter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< std::size_t t_N, class t_FIRST_PARAM = xref:BloombergLP/bslmf/NthParameter_Sentinel.adoc[NthParameter_Sentinel], class... t_PARAMS> struct NthParameter; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslmf/NthParameter-06/Type.adoc[`Type`] | The type of the Nth parameter, computed by recursively stripping off the first parameter until t_N == 0. |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslmf/NthParameter-056.adoc[`NthParameter<0, NthParameter_Sentinel>`] | Specialization of `NthParameter` for when `t_N` exceeds the actual number of parameters. | xref:BloombergLP/bslmf/NthParameter-050.adoc[`NthParameter<0, t_FIRST_PARAM, t_PARAMS...>`] | Specialization of `NthParameter` for when `t_N` is zero. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#