C ++是否支持变量模板参数? [英] Does C++ supports variable template parameters ?
问题描述
我正在阅读现代C ++设计,它说变量模板
参数根本就不存在。
但是我发现VC7 .1& VC8支持这个功能。谁能告诉我哪个是
对-_- b
非常感谢。
I''m reading Modern C++ Design, and it is saying "Variable template
parameters simply don''t exist."
But I find VC7.1 & VC8 support this feature.Who can tell me that which is
right -_-b
Many thanks.
推荐答案
*范杨:
* Fan Yang:
我正在阅读现代C ++设计,它说的是变量模板
参数根本就不存在。
但我发现VC7.1& VC8支持这个功能。谁能告诉我哪个是
右-_- b
I''m reading Modern C++ Design, and it is saying "Variable template
parameters simply don''t exist."
But I find VC7.1 & VC8 support this feature.Who can tell me that which is
right -_-b
你听说过上下文吗?一些陈述有上下文。
-
答:因为它弄乱了人们通常阅读文本的顺序。
问:为什么这么糟糕?
A:热门发布。
问:usenet和电子邮件中最烦人的是什么?
Have you heard about "context"? Some statements have context.
--
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?
Fan Yang写道:
Fan Yang wrote:
我正在阅读Modern C ++ Design,并且它说变量模板
参数根本就不存在。
I''m reading Modern C++ Design, and it is saying "Variable template
parameters simply don''t exist."
又名变量模板参数
aka variadic template parameters
但我找到了VC7.1& VC8支持这个功能。谁能告诉我哪个是
右-_- b
But I find VC7.1 & VC8 support this feature.Who can tell me that which is
right -_-b
我不知道有任何编译器支持可变参数模板参数。
I am not aware of any compiler supporting variadic template parameters.
对不起,但是上下文是什么?
" Alf P 。斯坦巴赫 < al *** @ start.no>
??????:4t ************* @ mid.individual.net ...
I am sorry, but what''s the context?
"Alf P. Steinbach" <al***@start.no>
??????:4t*************@mid.individual.net...
> *范杨:
>* Fan Yang:
>我正在阅读现代C ++设计,它是说变量模板
参数根本就不存在。
但我发现VC7.1& VC8支持这个功能。谁能告诉我哪个是正确的-_- b
>I''m reading Modern C++ Design, and it is saying "Variable template
parameters simply don''t exist."
But I find VC7.1 & VC8 support this feature.Who can tell me that which is
right -_-b
你听说过上下文吗?一些陈述有上下文。
-
答:因为它弄乱了人们通常阅读文本的顺序。
问:为什么这么糟糕?
A:热门发布。
问:usenet和电子邮件中最烦人的事情是什么?
Have you heard about "context"? Some statements have context.
--
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?
这篇关于C ++是否支持变量模板参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!