Answers for "inheritance not possible in constructor c++"

C++
0

c++ do you not inherit constructor

class A
{
    public: 
        explicit A(int x) {}
};

class B: public A
{
     using A::A;
};
Posted by: Guest on June-17-2020

Code answers related to "inheritance not possible in constructor c++"

Browse Popular Code Answers by Language