cxxomfort  rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
List of all members
integer_sequence< T, I > Struct Template Reference

C++14 integer_sequence utility. More...

Detailed Description

template<typename T, T... I>
struct cxxomfort::cxxostd::integer_sequence< T, I >

C++14 integer_sequence utility.

C++14 Backports:
Process parameter packs using integer values

Given integer_sequence<type, N>, it generates the object with parameter pack <type, 0, 1, ..., N-1>.

For example, integer_sequence<int, 5> "contains" the parameter pack <0, 1, 2, 3, 4>.

See also
utility/integer_sequence @ cppreference

The macro CXXOMFORT_IMPLEMENTS_integer_sequence informs about the implementation status. Additionally when the feature is backported by cxxomfort in C++>=11, the SD-6 macro __cpp_lib_integer_sequence is defined.

Note
This is backported down to C++11 only.

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