[ad_1]
template<typename T>
struct A : T
{
using Base = T;
};
template<typename T>
struct B : A<T> {
B(const T& v): Base(v) {}
};
Long story short, This code doesn’t work. Why? In MSVC compiler it produces error statement-
error C3861: 'Base': identifier not found
Any solutions by which I can propagate base class to derived class?
[ad_2]