go top

模板实参

网络释义

  template argument

当使用模板时,我们(隐式地或显式地)指定模板实参template argument),将其绑定到模板参数上。 我们的compare函数声明了一个名为T的类型参数。

基于158个网页-相关网页

短语

模板实参推演 template argument deduction

模板实参推断 template argument deduction

显式模板实参 explicitly specify

有道翻译

模板实参

Template actual parameters

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 某些情况下可能推断模板实参类型

    In some situations, it is not possible to deduce the types of the template arguments.

    youdao

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

    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.

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定