From a79ee37535f5c10bad1ce4e049dd27fd9db2738f Mon Sep 17 00:00:00 2001 From: bolero-MURAKAMI Date: Sat, 29 Jul 2017 15:04:31 +0900 Subject: [PATCH] workaround for GCC 7.0.0 or later --- sprout/index_tuple/index_range.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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