Boost logo

Boost :

From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2001-11-19 21:53:20


> > #define SUPERSUBCLASS(T, U) \
> > (::Loki::Conversion<const U*, const T*>::exists && \
> > !::Loki::Conversion<const T*, const void*>::sameType)
> >
>
> Why don't to implement this using boost::is_convertable and
> boost::same_type?

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

Andrei


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