Boost logo

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

Kind regards, Niels

Niels Dekker
Scientific programmer at LKEB, Leiden University Medical Center

Boost list run by bdawes at, gregod at, cpdaniel at, john at