C++0x Approaches


 
The current C++ Standard was published in 2003. It’s referred to as ISO/IEC 14882:2003, and you can download the PDF version for $30. From time to time I pop open the Standard to better understand a C++ language or library feature.
 
Sidebar: It’s interesting that the words stand, standard and understand have the same root word. The entymology of stand can mean "to be close to," so maybe the Standard helps you "be close to" C++.
 
Anyway, a new C++ Standard is solidifying. The new Standard is currently called C++0x, with the hopes that it will be published in the first decade of this millenium. That hope probably won’t become a reality, so programmers joke that the 0x is hexidecimal, and X could be from A-F.
 
You can find the current draft of the C++ Standard at http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3035.pdf. The good news: it’s free. The bad news: it’s not final. It’s still going through edits and bugs are getting cleaned up. Nevertheless, this version represents something that the C++ Standard Committee believes is pretty close to final. There’s a lot of good stuff in here that will be coming soon to compilers near you. In fact, many of the new features and libraries are already available from major compiler vendors. The Standards Committee has even tried to get rid of some things that were bad ideas in the first place. For instance, auto_ptr is now deprecated. Enjoy!
Advertisements
This entry was posted in C++. Bookmark the permalink.

2 Responses to C++0x Approaches

  1. Roger says:

    auto_ptr wasn’t a "bad idea in the first place", it just had implementation problems due to lack of language support. It’s deprecated with a replacement (unique_ptr) rather than break existing code.

  2. Pete says:

    Scott Meyers kindly pointed out that my link is already out of date. The "Final Committee Draft" of C++0x is N3092 located at http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3092.pdf

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s