c++0x standard library reference manual
I've been coding in C++ for years and recently heard that there's a new revision of the C++ standard coming along. I've studied the standard drafts and found out that there's a lot of new stuff that will make my programming easier. So I want to get accustomed to the new standard before it comes out. However, it's pretty hard to code using the new standard library without having a decent reference manu开发者_StackOverflow中文版al around. I've googled and found only some pages like Wikipedia's C++0x page which are not reference manuals. Does anybody know any C++0x standard library reference manual? I'm looking for something similar to MSDN's Standard C++ Library Reference.
There's been some good progress in getting the new features of C++0x on the wiki-based cppreference.com. The documentation is primarily based on the November 2010 draft standard (N3225).
It's still far from complete, but it's getting better every day.
Check your compiler's website/reference manual. Some compiler manufacturers have started adding the C++0x features, especially the ones already pre-finalized in the Technical Report 1. For example, see http://msdn.microsoft.com/en-us/library/bb982198.aspx for the TR1 features Microsoft already included in Visual Studio 2010.
A slightly older version of the C++0x draft can be found here. It's the same link you provided, but for VS2010 which implements some of the new standard. So far the only things I've found missing (not to say these are the only) are a for-each loop structure, and the C++0x multi-threading stuff.
I didn't look too much into this, but there's a list of features supported by GCC here.
I don't think there would be a reference manual for C++0x, because this standard is still experimental. C++0x is expected to be published by ISO around the end of 2011, so then there would be a reference manual (nutshell, etc.)
Why not simply try the features by using a recent compiler? Gcc implements a lot already (depending on the version) and Visual Studio 10 implements 5 new features.
I'm playing with lambda, auto and initializer lists at the moment at work and at home and it's really the kind of features that simplify everything you've write before.
精彩评论