Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::make_index_tuple< Size > Struct Template Reference

Unary metafunction that generates an index_tuple containing [0, Size). More...

#include <ah-stl-utils.H>

Public Types

using type = typename make_index_tuple< Size-1 >::type::template append< Size-1 >
 

Detailed Description

template<unsigned Size>
struct Aleph::make_index_tuple< Size >

Unary metafunction that generates an index_tuple containing [0, Size).

Recursively builds an index sequence from 0 to Size-1.

Template Parameters
SizeThe number of indices to generate.

Definition at line 313 of file ah-stl-utils.H.

Member Typedef Documentation

◆ type

template<unsigned Size>
using Aleph::make_index_tuple< Size >::type = typename make_index_tuple<Size-1>::type::template append<Size-1>

Definition at line 315 of file ah-stl-utils.H.


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