Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-03-23 19:19:17


Hi,

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.

Jonathan


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