Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-11-24 08:00:34


>I just pasted code from Loki. My entire point was to suggest adding a
>similar macro to boost.

I think the functionality is a good idea, but I would prefer to see it
added as a template, so that the expression:

is_public_base<Base, Derived>::value

gives the required answer.

While we're at it:

is_implicit_convertible<T,U>::value

would be useful as well (is true only if the conversion is not a UDC). The
name may not be quite right though....

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


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