Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-10-27 14:11:33


"Peter Dimov" <pdimov_at_[hidden]> writes:

> I've repeatedly suggested is_base_of<B, D> ("B is a base of D") and
> is_derived_from<D, B> ("D is derived from B") and repeatedly been
> ignored. ;-)

If I ignored you it's probably because this ignores the currying
issue.

        is_base_of<D,B>

makes plenty of sense. When the "D" gets bound visually to
is_base_of, we have a predicate on "B" which asks "is it a base of D"?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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