ERROR: partial ordering for explicit instantiation of 'f' is ambiguous when two template function only differ in template argument number

后端 未结 0 1248
花落未央
花落未央 2021-01-30 10:29

The following code cannot compile with clang, but ok with msvc and gcc. WHY?

If I define f function as template

相关标签:
回答
  • 消灭零回复
提交回复
热议问题