#include <tuple> | |
#include <type_traits> | |
template <int... I> | |
using bar = std::tuple<std::integral_constant<int, I>...>; | |
template <int... I> | |
struct foo { | |
int total(bar<I...> const&) const { return 0; } // error C3520: 'I' : parameter pack must be expanded in this context | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment