Boost logo

Boost :

From: Keith MacDonald (boost_at_[hidden])
Date: 2005-05-07 11:26:17


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);

- KM

"Jonathan Turkanis" <technews_at_[hidden]> wrote in message
news:d5ilei$2t2$1_at_sea.gmane.org...
>> format F:\CVS\boost\boost/type_traits/is_abstract.hpp(81) : warning
>> C4800: 'unsigned int' : forcing value to bool 'true' or 'false'
>> (performance warning)
>> F:\CVS\boost\boost/type_traits/is_abstract.hpp(93) : see
>> reference
>> to class template instantiation 'boost::detail::is_abstract_imp2<T>'
>> being compiled
>
> Iostreams doesn't use is_abstract<>; this must be from another library.
>


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