大学英语词汇短语释义解析及例句 template argument

大学英语词汇短语释义解析及例句 template argument


释义:

template argument 模板实参;范本自变量;模板参数

例句:



The compiler cannot determine a template argument.

编译器无法确定模板参数。



Default arguments cannot be used to deduce a template argument.

无法使用默认参数推导出模板参数。



The generic or template argument does not match the generic or template declaration.

泛型或模板参数与泛型或模板声明不匹配。



An unspecialized class template cannot be used as a template argument in a base class list.

不能将非专用化的类模板用作基类列表中的模板参数。



For example, I don't support ideas of direct language support for template argument constraints checking.

比如我不支持对模板参数约束检查提供直接语言支持的想法。



Is it safe to have the synthesis templates take a callable builtin type or an MPL sequence as the first template argument?

让合成模板接受一个可调用内建类型或者一个mpl序列作为第一个模板参数是否安全?



The standardese way of looking at things is simply that the value you supply as a template argument must be a constant known at compile time.

standardese看待事物的方式是,您提供作为一个模板参数的值必须在编译时是已知常数。



Conversely, a non type template argument is a constant within the template so that an attempt to change the value of a parameter is an error.

相反的,一个非类型模板实参是模板里的常量,所以任何试图修改它的行为都是错误的。

  • Issue by:www.viv-media.com
  • Web:http://
  • About Viv-Media|Free Add URL|Submit Press Release|Submit How To|SiteMap|Advertise with Us|Help|Contact Viv-Media |China Viv-Media
  • Copyright© 2010-2020 viv-media.com Corporation.
    Use of this web constitutes acceptance of Terms of Service and Privacy Policy. All rights reserved.  Poetry Online :Ancient Chinese Poetry