mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
fix index_tuple for ICC: template argument deduntion with aliases
This commit is contained in:
parent
eae1729128
commit
7831105add
13 changed files with 46 additions and 37 deletions
|
@ -16,15 +16,15 @@ namespace sprout {
|
|||
//
|
||||
// integer_pack
|
||||
//
|
||||
#if SPROUT_USE_TEMPLATE_ALIASES
|
||||
#if SPROUT_USE_TEMPLATE_ALIASES && !defined(SPROUT_NO_TEMPLATE_ARGUMENT_DEDUCTION_WITH_ALIASES)
|
||||
template<typename T, typename... Ts>
|
||||
using integer_pack = sprout::make_integer_sequence<T, sprout::detail::sizeof_pack<Ts...>::value>;
|
||||
#else // #if SPROUT_USE_TEMPLATE_ALIASES
|
||||
#else // #if SPROUT_USE_TEMPLATE_ALIASES && !defined(SPROUT_NO_TEMPLATE_ARGUMENT_DEDUCTION_WITH_ALIASES)
|
||||
template<typename T, typename... Ts>
|
||||
struct integer_pack
|
||||
: public sprout::make_integer_sequence<T, sizeof...(Ts)>
|
||||
{};
|
||||
#endif // #if SPROUT_USE_TEMPLATE_ALIASES
|
||||
#endif // #if SPROUT_USE_TEMPLATE_ALIASES && !defined(SPROUT_NO_TEMPLATE_ARGUMENT_DEDUCTION_WITH_ALIASES)
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #ifndef SPROUT_INDEX_TUPLE_INTEGER_PACK_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue