I've seen many example codes that use recursion to extract the values from a parameter pack. Is there any way, other than recursion, to extract the values from a parameter pack?
Depending on what you want to do, you can use C++17 fold expressions:
template <int ... ints>
constexpr int product() {
return (ints * ...);
}