Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C++
c++ do you not inherit constructor
codebased
Programming language:
C++
2021-03-05 08:51:56
8
Q:
c++ do you not inherit constructor
rwols
Code:
C++
2021-03-18 12:24:12
class A { public: explicit A(int x) {} }; class B: public A { using A::A; };
1
Tags
con
Related
ambiguity in inheritance c++
multiple inheritance in c++
c++ default constructor remove
c++ class member initialization
how initilaize deffult value to c++ class
c++ class member initializer list
c++ public inheritance not getting protected
how to initialize the object in constructor in c++
c+ class inheritance
inheritance protected in c++
why constructor can't be static in c++
call constructor from another c++
constructor in c++
extends c++
New to Communities?
Join the community