Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-05-08 05:14:20


> The warning from is_abstract.hpp may be because iostreams includes
> <boost/type_traits/is_convertible.hpp>. It's not your problem, but could
> be simply fixed by changing line 81 of is_abstract.hpp from this:
>
> BOOST_STATIC_ASSERT(sizeof(T));
>
> to this:
>
> BOOST_STATIC_ASSERT(sizeof(T) != 0);

I'll get that fixed.

Strangely the warning doesn't show up in any of the type_traits tests, and
seems to be very specific to certain instantiations <shrug>.

John.


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