问题描述
任何人都可以总结ANSI / ISO C ++ 2003标准*未采用的ANSI / ISO C 99标准
的[新]功能吗?
或请指出这样的总结。
Can anybody summarize the [new] features of ANSI/ISO C 99 standard
that were *not* adopted by the ANSI/ISO C++ 2003 standard?
Or point me to such a summary.
推荐答案
哪里可以找到C ++ 2003标准的摘要?
Where to find a summary of the C++2003 standard?
哪个世界已经存在ANSI / ISO C ++ 2003标准?
- < http://david.tribble.com/text/cdiffs.htm>
[f''up2 - > clc ++]
沃尔夫冈。
-
" Es gibt Dinge,死于男人bereut,男人sie tut。 Und man tut sie doch。
- Christian Friedrich Hebbel
In which world exists an ANSI/ISO C++ 2003 standard already?
- <http://david.tribble.com/text/cdiffs.htm>
[ f''up2 -> clc++ ]
Wolfgang.
--
"Es gibt Dinge, die man bereut, ehe man sie tut. Und man tut sie doch."
-- Christian Friedrich Hebbel
http://www.acceleratedcpp.com/author ... /revisions.pdf
不完全是你要求的,因为只列出了修订版。
只挑选两个当前版本来自[comp.lang.c ++。moderated]的线程:
C ++ 2003中删除的一个特性是
& a [i]之间的旧等价数组元素的a + i刚刚超过数组的末尾。
那只是愚蠢,恕我直言。
C ++ 2003中添加的一项功能是保证当你写''新T'而不是''新T()''时,对于零的初始化
T的POD元素。
那样。
http://www.research.att.com/~ark/c++.../revisions.pdf
http://www.acceleratedcpp.com/author.../revisions.pdf
Not exactly what you ask for, since just the revisions are listed.
Picking just two current threads from [comp.lang.c++.moderated]:
One feature removed in C++ 2003 is the old equivalence between
&a[i] and a+i for the array element just past the end of an array.
That''s just silly, IMHO.
A feature added in C++ 2003 is guaranteed zero-initialization of
POD elements of T when you write ''new T'' instead of ''new T()''.
Things like that.
这篇关于C 99 - C ++ 2003差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!