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

A type that represents a parameter pack of zero or more integers. More...

#include <ah-stl-utils.H>

Public Types

template<unsigned N>
using append = index_tuple< Indexes..., N >
 Generate an index_tuple with an additional element.
 

Detailed Description

template<unsigned... Indexes>
struct Aleph::index_tuple< Indexes >

A type that represents a parameter pack of zero or more integers.

Used for compile-time index generation when working with tuples.

Template Parameters
IndexesThe integer indices stored in this type.

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

Member Typedef Documentation

◆ append

template<unsigned... Indexes>
template<unsigned N>
using Aleph::index_tuple< Indexes >::append = index_tuple<Indexes..., N>

Generate an index_tuple with an additional element.

Template Parameters
NThe new index to append.

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


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