问题描述
我正在阅读现代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.
推荐答案
你听说过上下文吗?一些陈述有上下文。
-
答:因为它弄乱了人们通常阅读文本的顺序。
问:为什么这么糟糕?
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?
又名变量模板参数
aka variadic template parameters
我不知道有任何编译器支持可变参数模板参数。
I am not aware of any compiler supporting variadic template parameters.
你听说过上下文吗?一些陈述有上下文。
-
答:因为它弄乱了人们通常阅读文本的顺序。
问:为什么这么糟糕?
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 ++是否支持变量模板参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!