There are no arguments that depend on a template parameter

前端 未结 6 1699
囚心锁ツ
囚心锁ツ 2020-12-04 19:13

I am trying to do the following:

template 
std::ifstream& operator>> (std::ifstream& fin, List l)
{
    T temp;
    l.r         


        
6条回答
  •  囚心锁ツ
    2020-12-04 19:31

    It means that ignore cannot be found by the compiler and ADL cannot kick in. This means that there is no suitably-scoped ignore function.

提交回复
热议问题