ISO C++0x makes final draft
Written by Mike James   
Sunday, 27 March 2011

C++0x, the long awaited final draft of the next version has been agreed which means the final standard should be with us by the summer. What's in it for the average C++ programmer?

 

The ISO C++ committee has reached the final draft stage of the next version of the C++ language, known as C++0x. The only remaining step is to update the final draft and submission to the ITTF which means that the standard should be ready to go some time in the summer of 2011.

As with all language standard, the major compilers GCC and Visual C++ already include most of the major features, but now with the standard complete they can finish the job.  The last C++ standard was issued in 2003 and it has taken eight, some would say long, years to complete the latest.

 

CPP0Xlogo

So what is C++0x all about?

There are a few technical enhancements that make it possible to do things that you probably never noticed you couldn't do in earlier versions such as Rvalue reference and move semantics and constant expressions. Then there are the more obvious headline grabbers such as: Initializer lists, type inference, a for each loop, lambda functions and expressions, and strongly typed enumerations. Of these the availablity of lambda functions is likely to bring about the biggest change in programming style but who knows?

There are also lots of other minor improvement - not so minor if they represent a solution to your pet C++ hate - but in general the changes are intended to make the language features work better together rather than introduce "programmer candy".

However looking at the new features in C++0x you cannot help but compare it to C# which has acquired most of the new features in C++0x in a fraction of the time. Is this the overhead of designing languages by committee?

More information 

Bjarne Stroustrup's FAQ

ISO C++ committee's website

 

Banner


C++ For The 21st Century
17/02/2025

C++ is a language under attack from newer languages such as Rust and from more primitive languages such as C, yet it has a large community of committed and enthusiastic users. How can things be made b [ ... ]



EngFlow CMake RE Build System Now In Public Beta
13/03/2025

 EngFlow has launched the public beta of CMake RE, a remote execution service for the CMake software build system, along with a new open source project build system. The company has also announce [ ... ]


More News

Last Updated ( Sunday, 27 March 2011 )