|
Boost : |
Subject: Re: [boost] [utility/swap] MSVC 10 test failure, unsigned long to std::bitset conversion invalid?
From: Niels Dekker - address until 2010-10-10 (niels_address_until_2010-10-10_at_[hidden])
Date: 2010-03-09 12:23:54
>> I'm not sure, but it looks like MSVC 10 will always have its C++0x
>> features enabled.
Richard Webb wrote:
> There is some logic in yvals.h which defines _HAS_CPP0X to 1 if it's
> not defined already (and by default, it is defined and set to 1).
>
> If you manually define _HAS_CPP0X=0 in the project options, then the
> C++0x features will be disabled.
Thanks, Richard! This might be an interesting C++03 backward-compatibility
option.
Kind regards, Niels
-- Niels Dekker http://www.xs4all.nl/~nd/dekkerware Scientific programmer at LKEB, Leiden University Medical Center
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk