note: candidate function [with T = Type, V = Type, $2 = void] note: candidate function [with T = Type, V = Type, Vs = <>, $3 = void]
如上所示 T 是 template, V 是 typename, Vs 是 typename...,如果用 func<T1, T2>的方式调用模板函数,会同时匹配到两个。。
有大佬知道是什么问题么
![]() | 1 MarshallMathers 2020-08-19 15:01:02 +08:00 没有具体代码吗? |
2 shylockhg OP @MarshallMathers 加咯 |