Boost logo

Boost :

From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2003-01-28 12:16:23


"David Abrahams" <dave_at_[hidden]> wrote in message
news:u3cndjmu6.fsf_at_boost-consulting.com...
> > Yes, a class is it's own superclass/subclass, but IMO not it's own
> > base: so it is a bug in the implementation.
>
> I'd like to suggest changing the documentation to match the
> implementation at this point. I know of a few places where I have
> relied on the current semantics, and I'm sure that's the case for
> others as well. I'm not set on this course, but I think it's worth
> considering.

At the cost of adding an extra name, maybe it would be nice to provide
is_base_and_derived and is_super_and_subclass.

Andrei


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk