What is the difference between C ++ 0x and C ++ 11?

I see mixed usage of these two terms here on SO.

Wikipedia says

C ++ 11, also previously known as C ++ 0x ...

but I'm not sure why.

  • Why was it called C ++ 0x first and then C ++ 11?
  • Also, what does x mean? My guess is like a variable?
+46
c ++ c ++ 11
Mar 02 2018-12-12T00:
source share
4 answers

C ++ and C standards are usually named during the year in which they are published, which makes it easier to remember.

For example, in C ++ the original Standard was published in 1998, so we are talking about C ++ 98, and when we refer to its first correction, published in 2003, we are talking about C ++ 03.

It was assumed that the next standard after that would be implemented in 2008, but since it was vague, it was called C ++ 0x, where x meant either 8 or 9. In practice, although, as we all know, planning is biased, and therefore we end C ++ 11.

However, for the next version (C ++ 1x), Bjarne Straustrup announced his intention to do this in 5 years (approximately 2016). At the moment, there are changes made to the main language (concepts, modules and garbage collection), and it seems that the main focus is on expanding the library (for example, the file system), but it's too early, so who knows!

+55
02 Mar. '12 at 18:57
source share

C ++ 0x is the name for the standard before it was released / completed. As soon as it was completed (in 2011), we were able to name it correctly. That is, C ++ 11.

+11
Mar 02 2018-12-12T00:
source share

When work began on a new standard, in 1998 or so, no one knew which year it would be completed, so the "x" stood for an unknown year and hoped that it would be completed within ten years or so.

In the end, it was completed in 2011, and therefore the standard is now known in normal mode as C ++ 11 and officially as ISO / IEC 14882: 2011.

Now that this standard is official, work continues; again, no one knows when this will be done, but he hoped it would take less than a decade, and therefore he is called C ++ 1x in the usual manner.

+3
Mar 02 '12 at 18:58
source share

Since the standard was planned to be released / approved at 200x , but was actually approved in 2011 .

+2
Mar 02 2018-12-12T00:
source share



All Articles