Let's say I have a:
class A {
A(int i);
};
class B : A {
};
I cannot instanciate B(3) for instance, as this constructor is not defined. Is there a way to instanciate a B object that would use the A constructor, without having to add "trivial" code in all derived classes? thanks
thanks