Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-03-24 11:22:49


John Maddock wrote:
>> The following code causes a static assertion failure on GCC 3.2
>> (MinGW):
>>
>> #include <boost/static_assert.hpp>
>> #include <boost/type_traits/is_convertible.hpp>
>>
>> struct base { };
>> struct middle : virtual base { };
>> struct derived : middle { };
>>
>> BOOST_STATIC_ASSERT((boost::is_convertible<derived,
>> middle>::value));
>>
>> This problem is apparently responsible for the current failure of
>> all the iostreams tests on the platforms gcc-3.2.3 and gcc-3.3.5.
>
> Confirmed, I'm testing improved test cases, along with the fix now
> (Embarrassingly I'd used the wrong config macro).

Thanks!

Jonathan


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