C++0x approved
Tuesday, 16 August 2011

Can you imagine the uproar if the latest C++ standard  hadn't been approved? However, it was passed unanimously by the ISO committee and is now to be referred to C++11.

This is hardly news - but can you imagine the uproar if the latest C++ standard, i.e. C++0x, hadn't been approved by the committee? So,to put you out of your suspense, I can reveal that it was passed unanimously by the ISO committee (ISO SC22 WG21).

The only real point of note is that we now have to learn to stop calling it C++0x and adopt its new name C++11.

 

cpp11standard

 

The 0x part of the name wasn't the start of a hexadecimal number but was based on the expectation that the x would be replaced by a digit in the range 0 to 9, i.e. it was supposed that the standard would be complete in the first decade of the 21st century.  I suppose that 11 isn't to bad but perhaps next time we should call it C++xy just to be on the safe side.

It is also worth reflecting that the last C++ standard was issued in 1993 with an update in 2003. If this is the speed that standards work at we can look forward to x and y giving C++32 or thereabouts... The  creator of C++ Bjarne Stroustrup seems to think that C++16 is a good bet and he might know something about it.

When you actually look at what has been included in the new standard you have to conclude that it is welcome but it is hardly radical. We have some new initialization methods, type inferences, lambda functions, a "foreach" loop, improvements to templating and the standard library and so on.

Again apart from lambdas and type inferences there really don't seem to be any big new features in terms of the core language. Perhaps C++ doesn't need them!

It is difficult to judge what the overall effect of the standard will be until the dust has settled and compilers fully implement it.

Related articles:

ISO C++0x makes final draft

The Irrelevance of the New C++ Standard

 

cpp11standard

 

If you would like to be informed about new articles on I Programmer you can either follow us on Twitter or Facebook or you can subscribe to our weekly newsletter.

 

Banner


C23 ISO Standard Is Here But You Probably Won't Read It
06/11/2024

At last ISO C23 has been published, but at $250 you probably aren't going to read it. Can we really tolerate this sort of profiteering on the work of others? This is worse than academic publishing!



Gender Differences In Coding Style
13/11/2024

A novel investigation into the gender gap between men and women regarding coding ability was undertaken by Dr Siân Brooke. Her conclusion? There is a difference in the Python code [ ... ]


More News

Last Updated ( Tuesday, 16 August 2011 )