#pragma曾经在ISO标准中了吗? [英] #pragma once in ISO standard yet?
问题描述
我被告知#pragma once已经使它成为ISO / b $ b或C ++的ISO标准。我无法在任何地方找到任何参考。如果
这是真的,你们中的任何人都有我可以使用的参考吗?
谢谢......
Rick< re **************** @ spam.nowrote in
news:h9 * *******************************@4ax.com:
>
我被告知#pragma once已经使它成为ISO / b $ b或C ++的ISO标准。我无法在任何地方找到任何参考。如果
这是真的,你们中的任何人都有我可以使用的参考吗?
如果它是任何一种语言,它将是C ++。
尝试在comp.std.c ++中询问/>
-
$ b $bTomásóhéilidhe
Rick写道:
我被告知#pragma once已经使它成为ISO / b $ b或C ++的ISO标准。我无法在任何地方找到任何参考。如果
这是真的,你们中的任何人都有我可以使用的参考吗?
谢谢...
不,它不符合标准。许多编译器都实现了这个
但它不是(还)标准的
-
jacob navia
jacob at jacob point remcomp point fr
logiciels / informatique
http://www.cs.virginia.edu/~lcc-win32
Rick写道:
< blockquote class =post_quotes>
我被告知#pragma once已经使它成为ISO / b $ b或C ++的ISO标准。我无法在任何地方找到任何参考。如果
这是真的,你们中的任何人都有我可以使用的参考吗?
你被告知错了C.
-
Tor< bw ****@wvtqvm.vw | tr i-za-h a-z>
I''m told that "#pragma once" has made it into the ISO standard for
either C or C++. I can''t find any reference to that anywhere. If
it''s true, do any of you have a reference I can use?
Thanks...
Rick <re****************@spam.nowrote in
news:h9********************************@4ax.com:
>
I''m told that "#pragma once" has made it into the ISO standard for
either C or C++. I can''t find any reference to that anywhere. If
it''s true, do any of you have a reference I can use?
If it''s either language it would be C++.
Try asking in comp.std.c++
--
Tomás ó héilidhe
Rick wrote:I''m told that "#pragma once" has made it into the ISO standard for
either C or C++. I can''t find any reference to that anywhere. If
it''s true, do any of you have a reference I can use?
Thanks...No, it is not in the standard. Many compilers implement this
but it is not (yet) standard
--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32
Rick wrote:I''m told that "#pragma once" has made it into the ISO standard for
either C or C++. I can''t find any reference to that anywhere. If
it''s true, do any of you have a reference I can use?You have been told wrong for C.
--
Tor <bw****@wvtqvm.vw | tr i-za-h a-z>
这篇关于#pragma曾经在ISO标准中了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!