diff --git a/sprout/index_tuple/index_range.hpp b/sprout/index_tuple/index_range.hpp index f9b1868f..9be27f8e 100644 --- a/sprout/index_tuple/index_range.hpp +++ b/sprout/index_tuple/index_range.hpp @@ -17,7 +17,9 @@ namespace sprout { // index_range // uindex_range // -#if SPROUT_USE_TEMPLATE_ALIASES && !defined(SPROUT_WORKAROUND_NO_TEMPLATE_ARGUMENT_DEDUCTION_WITH_ALIASES) +// !!! for GCC 7.0.0 or later +//#if SPROUT_USE_TEMPLATE_ALIASES && !defined(SPROUT_WORKAROUND_NO_TEMPLATE_ARGUMENT_DEDUCTION_WITH_ALIASES) +#if SPROUT_USE_TEMPLATE_ALIASES && !defined(SPROUT_WORKAROUND_NO_TEMPLATE_ARGUMENT_DEDUCTION_WITH_ALIASES) && !SPROUT_GCC_OR_LATER(7, 0, 0) template< sprout::index_t First, sprout::index_t Last, typename std::make_signed::type Step = sprout::detail::integer_range_default_step::value