inheriting constructors code example
Example: c++ do you not inherit constructor
class A
{
public:
explicit A(int x) {}
};
class B: public A
{
using A::A;
};
class A
{
public:
explicit A(int x) {}
};
class B: public A
{
using A::A;
};