开发者

difference between c++9(g++ 4.3.2) and c++ 4.0.0-8 [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably a开发者_运维问答nswered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

what is the difference between C++(g++ 4.3.2) and C++ 4.0.0-8 and the best compilers for these.


What you are referring to appear to be version numbers of compilers available on your (unnamed) platform.

C++ proper has no such version numbers. Instead, C++ is defined by ISO standards, generally referred to by their year of ratification. So far we have:

C++-98: The initial standard defining the basic language, including templates, the so- called Standard Template Library, iostreams, etc.

C++-2003: The first revision of the standard, making minor corrections and clarifications to C++-98.

C++-TR1(2005): A (non-normative) technical report suggesting several new additions to the standard library in the std::tr1 namespace. Notably includes boost-developed smart pointers, hash tables (std::tr1::unordered_set, etc.) and other capabilities. These additions are expected to be officially incorporated in the upcoming C++-0x standard.

C++-0x (aka C++-2011): A major extension of the language with functional constructs such as lambda and automatic type determination, as well as significant new library content mostly from boost.

The version numbers you mentioned appear to be release numbers from one or two particular compilers. Generally those versions don't map directly to the C++ standards, but instead to differing (hopefully improving) levels of conformance with particular ISO standards and perhaps optimization capabilities.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜