You.i Engine
YiIndexSequence<... > Struct Template Reference

Detailed Description

struct YiIndexSequence<... >

A class template can be used to create 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. The generated list of integers can be accessed through the type typedef.

This is a backport of C++14's std::make_index_sequence.
See also

#include <utility/YiTypeTraits.h>

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