cxxomfort
rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
C++14 integer_sequence utility. More...
C++14 integer_sequence utility.
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>
.
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.