No, I like it. I was just curious if Poo or Boo could be accessed via Foo but it appears any such access must be polymorphic and your example is quite clear there.
Type: Posts; User: Imanuel
No, I like it. I was just curious if Poo or Boo could be accessed via Foo but it appears any such access must be polymorphic and your example is quite clear there.
No, to access Poo and Boo members through Foo; Foo has no members!
class Foo{
public:
};
class Poo : public Foo{
// local variables
public:
// Accessor/Mutator
};