mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2024-11-12 21:09:01 +00:00
workaround for GCC 7.0.0 or later
This commit is contained in:
parent
0918194078
commit
a79ee37535
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,9 @@ namespace sprout {
|
||||||
// index_range
|
// index_range
|
||||||
// uindex_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<
|
template<
|
||||||
sprout::index_t First, sprout::index_t Last,
|
sprout::index_t First, sprout::index_t Last,
|
||||||
typename std::make_signed<sprout::index_t>::type Step = sprout::detail::integer_range_default_step<sprout::index_t, First, Last>::value
|
typename std::make_signed<sprout::index_t>::type Step = sprout::detail::integer_range_default_step<sprout::index_t, First, Last>::value
|
||||||
|
|
Loading…
Reference in a new issue