C风格演员 [英] C style casts
问题描述
标准中C风格的标签被标记为诽谤了什么?
我在很多网站上都看过这个但我在标准中找不到它。
我有John ISO / IEC 14882:2003(第2版),由John Wiley&
Sons发表。我正处于关于这个问题的标准争论的中间,并且
安全性并不能说服我的对手 - 勉强可能。
Where is it in the standard that C style casts are labeled depricated?
I read that on a lot of websites but I can''t find it in the standard.
I have BS ISO/IEC 14882:2003 (2nd ed) as published by John Wiley &
Sons. I''m in the middle of a standard argument on this issue and
safety isn''t convincing my opponents - deprication might.
推荐答案
* ro**********@gmail.com :
C样式转换的标准在哪里被标记为已删除?
他们不是。
我在很多网站上都看过这个但我在标准中找不到它。
我有John ISO / IEC 14882:2003(第2版),由John Wiley&
Sons出版。我正处于关于这个问题的标准论证中,并且安全性并不能令我的对手说服 - 可能会让人失望。
Where is it in the standard that C style casts are labeled depricated?
They aren''t.
I read that on a lot of websites but I can''t find it in the standard.
I have BS ISO/IEC 14882:2003 (2nd ed) as published by John Wiley &
Sons. I''m in the middle of a standard argument on this issue and
safety isn''t convincing my opponents - deprication might.
你可以'不要强迫任何人编写合适的代码。你不能强迫任何人
分享你的价值观,你对好的和坏的看法。所以,如果他们坚持使用C风格的演员,那就让他们吧。
-
答:因为它搞砸了人们通常阅读文字的顺序。
问:为什么这么糟糕?
A:热门发布。
问: usenet和电子邮件中最烦人的事情是什么?
You can''t force anyone to write decent code. You can''t force anyone to
share your values, your opinion on what is good and bad. So if they
insist on using C style casts, let them.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
ro ********** @ gmail.com 写道:
C样式演员的标准在哪里被标记为depricated?
已弃用?无处。 5.4描述了显式类型转换以及
的含义。
我在很多网站上都读到了这个但我在标准中找不到它。
因为它不存在。什么网站声称它已被弃用?您可以发布一个链接吗?
我有由John Wiley&
Sons出版的BS ISO / IEC 14882:2003(第2版)。我正处于关于这个问题的标准论证中,并且安全性并不能令我的对手信服 - 可能会令人沮丧。
Where is it in the standard that C style casts are labeled depricated?
Deprecated? Nowhere. 5.4 describes the explicit type conversion and what
it means.
I read that on a lot of websites but I can''t find it in the standard.
Because it''s not there. What web site claims that it''s deprecated? Can
you post a link?
I have BS ISO/IEC 14882:2003 (2nd ed) as published by John Wiley &
Sons. I''m in the middle of a standard argument on this issue and
safety isn''t convincing my opponents - deprication might.
抱歉让人失望您。没有弃用。
V
-
请通过邮件回复时从我的地址删除资金
Sorry to disappoint you. No deprecation on that one.
V
--
Please remove capital As from my address when replying by mail
Victor Bazarov写道:
Victor Bazarov wrote:
ro ********** @ gmail.com 写道:
C样式演员的标准在哪里被标记为已删除?
已弃用?无处。 5.4描述了显式类型转换以及它意味着什么。
Where is it in the standard that C style casts are labeled depricated?
Deprecated? Nowhere. 5.4 describes the explicit type conversion and what
it means.
是的,这就是我所看到的......
Yep, that''s what I see...
我在很多网站上看到了这个,但是我在标准中找不到它。
I read that on a lot of websites but I can''t find it in the standard.
因为它不在那里。什么网站声称它已被弃用?您可以发布链接吗?
Because it''s not there. What web site claims that it''s deprecated? Can
you post a link?
http://www.google.com/search?hl=en&q...ecated&spell=1
有几个。前几页的一个好部分实际上是这样说的,
其他人只包含所有单词。
http://www.google.com/search?hl=en&q...ecated&spell=1
There''s a few. A good section of the first few pages actually say it,
the others just contain all words.
这篇关于C风格演员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!