Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what will be the official name of c++0x? [closed]

Tags:

c++

c++11

as I know standard should be accepted this year. So, will it be c++11?

like image 870
Andriy Tylychko Avatar asked Jan 31 '11 22:01

Andriy Tylychko


People also ask

What is c 0x?

C++0x is the working draft of the new C++ programming language standard. Note: C++0x is a new version of the C++ programming language standard. IBM continues to develop and implement the features of the new standard. The implementation of the language level is based on IBM's interpretation of the standard.

What is std c++ 0x?

C++0x was the working name for the new standard for C++, adding many language features that I'll cover in this series on C++11. In September 2011, C++0x was officially published as the new C++11 standard, and many compilers now provide support for some of the core C++11 features.


1 Answers

[ED: Since this question was asked the C++ Standard has been published. In my answer I have changed past tense to present tense and elaborated a bit on things that have clarified since release.]

The name of the language according to the Standard is C++. In order to distinguish it from other versions of the Standard it sometimes referred to as C++11, but that's not its official name. Previous releases are often referred to as C++03 or C++98, but in converstions on StackOverflow "C++" by itself generally means the current version of C++, whatever that happens to be.

C++0x was just a placeholder identifier used to refer to the pre-release version of the Standard before it was published in order to distinguish it from other versions. Today we have a new version being discussed by the committie; that version is currently being referred to as C++1y.

Regarding the 0x part, this is what Bjarne Stroustrup has to say:

The new standard is likely to be called C++11, but even a minor bureacratic delay could make that C++12. Personally, I prefer plain C++ and to use a year marker only when I need to distinguish it from previous versions of C++, such as ARM C++, C++98 and C++03. For now, I bow to convention and still use C++0x for the next version. Think of 'x' as hexadecimal.

When posting on SO, it is often referred to as C++11. There is some confusion about which version of the C++ Standard is referred to when only the C++ tag is used without any disambiguation (such as the C++11 or C++03 tags), but it is generally assumed that the C++ tag refers to the current release. As of this writing, that's C++11.

like image 186
John Dibling Avatar answered Oct 12 '22 15:10

John Dibling