c 2b 2b do you not inherit constructor

Solutions on MaxInterview for c 2b 2b do you not inherit constructor by the best coders in the world

showing results for - "c 2b 2b do you not inherit constructor"
Alex
03 Jan 2018
1class A
2{
3    public: 
4        explicit A(int x) {}
5};
6
7class B: public A
8{
9     using A::A;
10};