Why no overload chosen on forward reference for function templates?

后端 未结 0 961
孤街浪徒
孤街浪徒 2020-12-05 15:40

Snippet:

#include 

template
struct Printer{};

template
void test(T&&)
{
    std::cout << &         


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