Index: include/utility =================================================================== --- include/utility +++ include/utility @@ -680,6 +680,16 @@ template using index_sequence = integer_sequence; +#if __has_builtin(__make_integer_seq) + +template +struct __make_integer_sequence +{ + typedef __make_integer_seq type; +}; + +#else + namespace __detail { template struct __repeat; @@ -737,6 +747,8 @@ typedef __make_integer_sequence_unchecked<_Tp, _Ep> type; }; +#endif + template using make_integer_sequence = typename __make_integer_sequence<_Tp, _Np>::type;