|
Boost : |
Subject: Re: [boost] first Visual Studio 2010 CTP is out, c++0x
From: Stuart Dootson (stuart.dootson_at_[hidden])
Date: 2008-10-30 04:45:38
On Thu, Oct 30, 2008 at 12:34 AM, Mathias Gaunard
<mathias.gaunard_at_[hidden]> wrote:
> Cory Nelson wrote:
>>
>> In case anyone missed it, a VS10 CTP is out with partial 0x support
>> (lambda, rvalue, static assert, and "auto"), better intellisense,
>> and a modern c++ parallel library.
>>
>>
>> http://www.microsoft.com/downloads/details.aspx?familyid=922b4655-93d0-4476-bda4-94cf5f8d4814
>
> Does it require a special mode to be set (such as std=c++0x for GCC) or are
> all these features available by default?
No - lambdas, auto and static_assert are all available with no
command-line options set.
The only mention of C++ conformance in the online help (accessed by CL
/?) is this, which is about C++ 98 conformance(!):
/Zc:arg1[,arg2] C++ language conformance, where arguments can be:
forScope[-] - enforce Standard C++ for scoping rules
wchar_t[-] - wchar_t is the native type, not a typedef
and the 'forScope' option seems to be ineffective anyway (i.e. C++ 98
for-loop scoping seems to always be active)
>
> If it does require a special mode, are some features still accessible in
> default, C++03, mode?
N/A - there doesn't appear to be any options to turn off C++0x features, either.
HTH
Stuart Dootson
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk