Someone
public text v1 · immutableclass Base {public: Base(int foo) { cout << "Base constructed with param " << foo << endl; }};class Derived : public Base {public: Derived(int foo, int bar): Base(foo) { cout << "Derived constructed with params " << foo << " and " << bar << endl; }};