tfel
Loading...
Searching...
No Matches
tfel::meta::TLFindNthElt< T, N > Class Template Reference

A metafunction which returns the Nth element of the TL. More...

#include </home/runner/work/tfel/tfel/include/TFEL/Metaprogramming/TypeList.hxx>

Public Types

using type = typename TLFindNthElt<typename T::Next, N - 1>::type

Detailed Description

template<typename T, unsigned int N>
class tfel::meta::TLFindNthElt< T, N >

A metafunction which returns the Nth element of the TL.

Parameters
T,aTL.
N,apositive integer.
Returns
type, the Nth element of T or TLE if T contains less than N elements.
Author
Thomas Helfer
Date
30/08/2006

Member Typedef Documentation

◆ type

template<typename T, unsigned int N>
using tfel::meta::TLFindNthElt< T, N >::type = typename TLFindNthElt<typename T::Next, N - 1>::type

The result of the metafunction. Return the Nth element of the T or TLE if T contains less than N elements.


The documentation for this class was generated from the following files: