You.i Engine
YiMakeIndexSequence< S > Struct Template Reference

Detailed Description

template<int... S>
struct YiMakeIndexSequence< S >

A class template that represents a compile-time sequence of integers. This is used mostly with std::get<T> to access elements of a tuple.

The template parameter of this template is the number of elemnts in the sequence. Negative values are not supported.

Note
This is a backport of C++14's std::index_sequence.
See also
YiIndexSequence

#include <utility/YiTypeTraits.h>

Public Types

typedef YiIndexSequence< S... > type
 

Member Typedef Documentation

◆ type

template<int... S>
typedef YiIndexSequence<S...> YiMakeIndexSequence< S >::type

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