I have the following code which compiles successfully in c++14.
template<class T, class ...Args>
class B
{
public:
using AbcData = int;
};
template<typename ...Args>
class D : public B<float, Args...>
{
public:
AbcData m_abc;
};
But when compiled in c++17, it gives the following error.
error C2061: syntax error: identifier 'AbcData'
What is wrong with the code and how to fix this?