I tried the following and failed to compile.
class A {
//...members
class B : public A { //<---failed here
using A::A;
}
}
Is this possible(specially in c++17)? Do this just have wrong syntax? If not possible, why this does not work?