Template Struct getNth

Struct Documentation

template<typename TypeList, size_t n>
struct getNth

Get N-th type of a type list.

Template Parameters
  • TypeList – Type list

  • n – The position of a type to extract

Public Types

using Type = typename getNth<typename TypeList::Next, n - 1>::Type