swap s1, s2 模板实参推断(template argument deduction):编译器根据函数调用中所给出的实参的类型,确定相应的模板实参 函数模板的实例化(instantiation):模板实参确定之后,编译器...
基于34个网页-相关网页
模板实参推断
Template actual parameter inference
以上为机器翻译结果,长、整句建议使用 人工翻译 。
在某些情况下,不可能推断模板实参的类型。
In some situations, it is not possible to deduce the types of the template arguments.
youdao
应用推荐
模块上移
模块下移
不移动