C 99 - C ++ 2003差异 [英] C 99 -- C++ 2003 diffs
问题描述
任何人都可以总结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.
推荐答案
" E. Robert Tisdale <,E ************** @ jpl.nasa.gov>。在留言中写道
news:3F ************** @ jpl.nasa.gov ...
"E. Robert Tisdale" <E.**************@jpl.nasa.gov> wrote in message
news:3F**************@jpl.nasa.gov...
任何人都可以总结一下[新的] ANSI / ISO C 99标准的特性是否被ANSI / ISO C ++ 2003标准采用?
或者指出这样的总结。
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?
*这样说起E. Robert Tisdale< E. **** **********@jpl.nasa.gov>:
你好,
* Thus spoke E. Robert Tisdale <E.**************@jpl.nasa.gov>:
Hallo,
任何人都可以总结一下[new ANSI / ISO C ++标准*未采用的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.
哪个世界已经存在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
2003年12月13日星期六19:42:16 -0800, &引用。 Robert Tisdale <,E ************** @ jpl.nasa.gov>。写道:
On Sat, 13 Dec 2003 19:42:16 -0800, "E. Robert Tisdale" <E.**************@jpl.nasa.gov> wrote:
任何人都可以总结一下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.
http://www.research.att.com/~ark/c++.../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差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!