Parameter pack expansion in using declarations is not supported in C++14, and so the following code fails to compile:
template<typename T> struct A
{
virtual void foo(T);
};
template<typename... T> struct B: public A<T>...
{
using A<T>...;
};
Is there a work-around to achieve the same results? Otherwise, one would have to manually spell out the using declaration for expected types, and modify the class every time a new type is used.