in reply to Re: Perlxs and C++ inheritance
in thread Perlxs and C++ inheritance
class Base1 {}; class Base2 {}; class Derived: public Base1, Base2 {}; ... Derived* obj = new Derived(); Base2* base_pointer = static_cast<Base2*> obj;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perlxs and C++ inheritance
by Anonymous Monk on Apr 24, 2014 at 09:51 UTC | |
by llancet (Friar) on May 04, 2014 at 03:05 UTC |