What prevents template deduction from working with std::function as a parameter to a function?

后端 未结 0 1527
野的像风
野的像风 2020-12-11 17:33

What is it about template type deduction that prevents the compiler from determining the intended type when invoking fubar the first time?

#include 

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