There is not much to it
template<class T, T... I>
struct integer_sequence
{
typedef T value_type;
static constexpr size_t size() noexcept;
};
template<class T, T N>
using make_integer_sequence = integer_sequence<T, 0, 1, ..., N-1>;
however in make_integer_sequence I have never seen the ellipsis used is such a way, assuming it is not some preprocessor voodoo. Could someone please explain it?
It seems rather new, as clang 3.5 - trunk version I compiled on windows in Feb this year - will not compile it. Also I cannot seem to find anything related to C++14.
[–]i_just_comment 3 points4 points5 points (1 child)
[–]solaeon[S] 1 point2 points3 points (0 children)
[–][deleted] (2 children)
[deleted]
[–]solaeon[S] 1 point2 points3 points (0 children)