Boost logo

Boost Users :

Subject: Re: [Boost-users] [type_traits] will the future has_operator_left_shift be able to test if a type is serializable to a stream ?
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2011-02-02 17:20:52


>> Actually it seems MSVC doesn't like "not", "or" and "and" : replacing them
>> with "!", "||" and "&&" makes the error (and the warning) go away.
>
> It may be related to this page:
> http://www.boost.org/development/int_const_guidelines.html
> I will try to comply with all these recommendations which will be
> difficult! Hope it will solve this type of issues.

Can you try the following version and tell me if it compiles fine?
http://www.boostpro.com/vault/index.php?action=downloadfile&filename=type_traits-dos.tar.bz2&directory=Extension&

I have removed any call to logical operators in constant expressions
and replaced them by ice constructs (not done yet for all operators
but should be ok for <<).
I still have to remove reference to numeric_limits which seems to be
an issue with some compilers.

Frédéric


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net