Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-26 08:04:21

----- Original Message -----
From: "Vladimir Prus" <ghost_at_[hidden]>

> > Not sure what you mean by "call a derived method".
> One that was derived. Is 'inherited' a better word?

If that's what you mean. Derived and inherited are almost opposites.


struct A {
virtual void f();
virtual void g();

struct B : A {
virtual void g();

If I had to guesss at the meaning of "derived method", I would tend to
say that B::g() is a derived method of A. Of course calling a derived
method in that case makes no sense for anything that's actually a B.

I would say that A::f() is an "inherited method" of B.

Now I'm guessing that you wanted to do something like calling A::g()
from B::g()?



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at