.h用于标准标题 [英] .h for standard headers

查看:66
本文介绍了.h用于标准标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么时候.h从STL标题中删除了?我昨天和我的老板进行了一次

的讨论,他说他想要所有的

STL包括在内,尽管我抗议说它不标准......


-

Christopher Benson-Manica |我*应该*知道我在说什么 - 如果我

ataru(at)cyberspace.org |不,我需要知道。火焰欢迎。

At what point was the .h dropped from the STL headers? I just had a
discussion yesterday with my boss, who said he wanted .h on all the
STL includes, despite me protesting that it was not standard...

--
Christopher Benson-Manica | I *should* know what I''m talking about - if I
ataru(at)cyberspace.org | don''t, I need to know. Flames welcome.

推荐答案

Christopher Benson-Manica< at *** @ nospam.cyberspace.org>写道:
Christopher Benson-Manica <at***@nospam.cyberspace.org> writes:
什么时候.h从STL标题中删除了什么?
At what point was the .h dropped from the STL headers?



当ANSI C ++到达时,我想。当STL被包含在SL中时。


When ANSI C++ arrived, I think. When the STL was subsumed into the SL.


Christopher Benson-Manica写道:
Christopher Benson-Manica wrote:

在什么时候是.h从STL标题中删除了吗?我昨天和我的老板进行了一次讨论,他说他想要所有的
STL包括在内,尽管我抗议它不标准......

At what point was the .h dropped from the STL headers? I just had a
discussion yesterday with my boss, who said he wanted .h on all the
STL includes, despite me protesting that it was not standard...




在标准C ++中:从不

即:.h从不是标准包含的一部分。

所有用法例如。 iostream.h可以追溯到一个时代,其中今天定义的标准C ++只不过是一个待办事项列表中的

条目。一些编译器供应商保留它们

的兼容性,即使标准进入

存在。


-

Karl Heinz Buchegger
kb******@gascad.at


Karl Heinz Buchegger< kb ****** @ gascad.at>这样说:
Karl Heinz Buchegger <kb******@gascad.at> spoke thus:
在标准C ++中:从来没有
那就是:.h从来都不是标准包含的一部分。
所有用法例如。 iostream.h可以追溯到一个时代,在这个时代,今天定义的标准C ++只不过是ToDo列表中的一个
条目。一些编译器供应商保留了它们的兼容性,即使标准存在就已存在。
In standard C++: Never
That is: .h was never a part of the standard includes.
All usages of eg. iostream.h date back to an era, where
''Standard C++'' as defined today was nothing more then an
entry in a ToDo list. Some compiler vendors kept them
for compatibility even when ''The Standard'' came into
existence.




这个时代包括,比方说, 1999年?


-

Christopher Benson-Manica |我*应该*知道我在说什么 - 如果我

ataru(at)cyberspace.org |不,我需要知道。火焰欢迎。



Did that era include, say, 1999?

--
Christopher Benson-Manica | I *should* know what I''m talking about - if I
ataru(at)cyberspace.org | don''t, I need to know. Flames welcome.


这篇关于.h用于标准标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆