|
Boost : |
From: Howard Hinnant (hinnant_at_[hidden])
Date: 2001-11-25 22:51:33
On Sunday, November 25, 2001, at 10:39 PM, Andrei Alexandrescu wrote:
> Yes, but is_public_base suffers of the "who's first and who's second"
> problem. Per public demand, I changed super_subclass to base_derived. So
> base_derived<T, U>::value is true is T is the base and U is the derived.
Minor nit: How 'bout is_base_derived<T, U>::value ?
Would be more consistent with the existing type_traits lib (is_integral,
is_enum, is_fundamental, is_POD, etc.).
-Howard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk