Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2001-11-25 21:50:20


At 07:32 AM 11/25/2001, John Maddock wrote:

>Afterwards I realised that there are three possible names here:
>
>is_public_base<base,Derived>,
>is_superclass<base,derived>
>is_subclass<derived, base>
>
>Of course they all do the same thing, so we only need one of these - it
>depends on which way you look at it I guess - personally I prefer
>"is_public_base", as it's the easiest to understand what it does (I
always
>get "superclass" and "subclass" mixed up, and I'm sure I'm not alone!)

Any number of otherwise intelligent people mix up "superclass" and
"subclass", which aren't really usual C++ terms anyhow. OTOH,
is_public_base uses familiar C++ terminology.

--Beman


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