go top

function template specialization

网络释义

  中函数模板定制

[阅读全文] C++中函数模板定制(function template specialization) 详解 函数模板定制可以解决特定的模板参数, 需要特定的函数方法去实现;注意函数模板定制是实例化模板, 而不是模板的重载;有非模...

基于1个网页-相关网页

短语

template function partial specialization 模板函数的偏特化

有道翻译

function template specialization

函数模板专门化

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

双语例句

  • A function template specialization might be ambiguous because template argument deduction might associate the specialization with more than one of the overloaded definitions .

    使用函数模板时,如果你定义了多个重载特例化函数,可能导致模糊不清的调用,所以这时编译器会从中选择最特例的那个函数定义来调用。

    youdao

  • Is it possible to make a template function friend to a template Specialization Class?

    可能使模板函数朋友一个专门化类模板吗?

    youdao

  • When the compiler sees a call, it must know to expect a specialization for this version. Otherwise, the compiler is allowed to instantiate the function from the template definition.

    编译看到一个函数调用时,必须知道这个版本需要特化否则,编译器将可能模板定义实例化函数

    youdao

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

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

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