Boost logo

Boost :

From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2003-02-04 12:13:53


Joel de Guzman wrote:
> Hi,
>
> Borland cannot handle this code:
>
> #include <boost/type_traits.hpp>
> #include <boost/mpl/if.hpp>
>
> using namespace boost;
> using namespace boost::mpl;
>
> struct A {};
> struct B {};
>
> template <typename T>
> struct C : if_<is_empty<T>, A, B>::type {};
>
> struct D { int i; };
> struct E {};
>
> struct F : C<D> {};
> struct G : C<E> {};
>
Look at my recent thread: "Current is_convertible borken for bcc5.5.1",
In my last message I posted a fix for bcc5.5.1.

-- 
Fernando Cacciola

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