first Visual Studio 2010 CTP is out, c++0x

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-... -- Cory Nelson

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-...
Yeah, and only 7 GB to download. :-) Bo Persson

Cory Nelson <phrosty <at> gmail.com> writes:
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-...
I've tried building a couple of projects with the CTP and Boost 1.37 (the current release branch), and it seems ok. Can we see about getting the config headers and such updated with v10 support? Thanks, Richard Webb

On Wed, Oct 29, 2008 at 6:09 AM, John Maddock <john@johnmaddock.co.uk>wrote:
Richard Webb wrote:
Can we see about getting the config headers and such updated with
v10 support?
If someone would like to submit patches, then yes sure. Unfortunately I don't think I'll be downloading the preview myself any time soon...
We need to be cautious. 2010 is really just at a late alpha stage, so much can change between now and release. As an example of what can happen, the Codegear/Borland compiler that just shipped had variadic templates all through the beta process, but a serious bug surfaced at the eleventh hour, so they were pulled from the final release. That said, I've got a bunch of C++0x Boost.Config changes 90% ready. I'll try to get them into trunk in the next couple of weeks, after 1.37.0 ships. --Beman

2008/10/29 Beman Dawes <bdawes@acm.org>:
That said, I've got a bunch of C++0x Boost.Config changes 90% ready. I'll try to get them into trunk in the next couple of weeks, after 1.37.0 ships.
I've got a small config change to be merged after 1.37.0 (support for initalizer lists). Is it likely to clash? https://svn.boost.org/trac/boost/ticket/2332 https://svn.boost.org/trac/boost/log/branches/initializer-list Daniel

On Wed, Oct 29, 2008 at 8:16 AM, Daniel James <daniel_james@fmail.co.uk>wrote:
2008/10/29 Beman Dawes <bdawes@acm.org>:
That said, I've got a bunch of C++0x Boost.Config changes 90% ready. I'll try to get them into trunk in the next couple of weeks, after 1.37.0
ships.
I've got a small config change to be merged after 1.37.0 (support for initalizer lists). Is it likely to clash?
https://svn.boost.org/trac/boost/ticket/2332 https://svn.boost.org/trac/boost/log/branches/initializer-list
No problem. The set I'm working on is: # define BOOST_NO_CHAR16_T # define BOOST_NO_CHAR32_T # define BOOST_NO_DECLTYPE # define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS # define BOOST_NO_EXTERN_TEMPLATE # define BOOST_NO_SCOPED_ENUMS # define BOOST_NO_STATIC_ASSERT # define BOOST_NO_RVALUE_REFERENCES # define BOOST_NO_VARIADIC_TEMPLATES # define BOOST_NO_CONSTEXPR # define BOOST_NO_DEFAULTED_FUNCTIONS # define BOOST_NO_DELETED_FUNCTIONS # define BOOST_NO_RAW_LITERALS # define BOOST_NO_UNICODE_LITERALS --Beman

Beman Dawes wrote:
On Wed, Oct 29, 2008 at 6:09 AM, John Maddock <john@johnmaddock.co.uk>wrote:
Richard Webb wrote:
Can we see about getting the config headers and such updated with
v10 support?
If someone would like to submit patches, then yes sure. Unfortunately I don't think I'll be downloading the preview myself any time soon...
We need to be cautious. 2010 is really just at a late alpha stage, so much can change between now and release.
I've opened a ticket @ https://svn.boost.org/trac/boost/ticket/2445 and attached a basic patch to the config headers. Theres an interesting post about C++0x support @ http://blogs.msdn.com/vcblog/ with some lambda/auto examples. It doesnt say much about what other features they may implement, besides saying that they arent going to have Concept support. -- View this message in context: http://www.nabble.com/first-Visual-Studio-2010-CTP-is-out%2C-c%2B%2B0x-tp202... Sent from the Boost - Dev mailing list archive at Nabble.com.

On Tue, Oct 28, 2008 at 9:28 AM, Cory Nelson <phrosty@gmail.com> 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.
Thanks for the heads up! By the way, each of those four C++0x features were developed by Boosters. The lead author for Lambda expressions was Jaakko Jarvi. The lead author for rvalue references was Howard Hinnant, with co-authors Peter Dimov and Dave Abrahams. The lead author for static asserts was Robert Klarer, with co-authors John Maddock, Beman Dawes, and Howard Hinnant. The lead author for auto was Jaakko Jarvi. --Beman

On Wed, Oct 29, 2008 at 4:23 AM, Beman Dawes <bdawes@acm.org> wrote:
On Tue, Oct 28, 2008 at 9:28 AM, Cory Nelson <phrosty@gmail.com> 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.
Thanks for the heads up!
By the way, each of those four C++0x features were developed by Boosters.
The lead author for Lambda expressions was Jaakko Jarvi.
The lead author for rvalue references was Howard Hinnant, with co-authors Peter Dimov and Dave Abrahams.
The lead author for static asserts was Robert Klarer, with co-authors John Maddock, Beman Dawes, and Howard Hinnant.
The lead author for auto was Jaakko Jarvi.
Congrats guys! I also just read how C++ is now basically feature complete and in bug fixing mode, so even better. Thanks for all your hard work. http://herbsutter.wordpress.com/2008/10/28/september-2008-iso-c-standards-me... -- Cory Nelson

Well done guys!!! Ricard ----- Original Message ----- From: "Cory Nelson" <phrosty@gmail.com> To: <boost@lists.boost.org> Sent: Wednesday, October 29, 2008 1:25 PM Subject: Re: [boost] first Visual Studio 2010 CTP is out, c++0x
On Wed, Oct 29, 2008 at 4:23 AM, Beman Dawes <bdawes@acm.org> wrote:
On Tue, Oct 28, 2008 at 9:28 AM, Cory Nelson <phrosty@gmail.com> 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.
Thanks for the heads up!
By the way, each of those four C++0x features were developed by Boosters.
The lead author for Lambda expressions was Jaakko Jarvi.
The lead author for rvalue references was Howard Hinnant, with co-authors Peter Dimov and Dave Abrahams.
The lead author for static asserts was Robert Klarer, with co-authors John Maddock, Beman Dawes, and Howard Hinnant.
The lead author for auto was Jaakko Jarvi.
Congrats guys! I also just read how C++ is now basically feature complete and in bug fixing mode, so even better. Thanks for all your hard work.
http://herbsutter.wordpress.com/2008/10/28/september-2008-iso-c-standards-me...
-- Cory Nelson _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

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-...
Does it require a special mode to be set (such as std=c++0x for GCC) or are all these features available by default? If it does require a special mode, are some features still accessible in default, C++03, mode? By the way, decltype is available in C++03 in GCC through "__decltype__", but the boost macros only detect the C++0x mode "decltype". Shouldn't those macros be improved to allow accessing those features even in normal C++03 mode?

On Thu, Oct 30, 2008 at 12:34 AM, Mathias Gaunard <mathias.gaunard@ens-lyon.org> 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-...
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

Stuart Dootson wrote:
On Thu, Oct 30, 2008 at 12:34 AM, Mathias Gaunard <mathias.gaunard@ens-lyon.org> 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-...
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)
The default scoping is "adaptive", meaning that a name defined in the for loop leaks out and is visible after the loop. However you are also allowed to define the name again, which then hides the one from the for loop. Bo Persson

If anyones interested, theres a set of Trunk test results up for the CTP, under the 'RW_WinXP_VC10' runner.

I tried this link...it doesn't go to a valid page. -----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Cory Nelson Sent: Tuesday, October 28, 2008 9:29 AM To: boost@lists.boost.org Subject: [boost] first Visual Studio 2010 CTP is out, c++0x In case anyone missed it, a VS10 CTP is out with partial 0x support (lamb-da, rval-ue, stat-ic as-ser-t, and "auto"), better intellisense, and a modern c++ parallel library. http://www.microsoft.com/downloads/details.aspx?familyid=922b4655-93d0-4476-... -- Cory Nelson _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Thu, Oct 30, 2008 at 11:50 PM, Sid Sacek <ssacek@appsecinc.com> wrote:
I tried this link...it doesn't go to a valid page.
See http://blogs.msdn.com/othmane/archive/2008/10/30/visual-studio-2010-net-fram... It broke :-) Stuart Dootson
participants (10)
-
Beman Dawes
-
Bo Persson
-
Cory Nelson
-
Daniel James
-
John Maddock
-
Mathias Gaunard
-
Ricard de Benito Panillo
-
Richard Webb
-
Sid Sacek
-
Stuart Dootson