c++程序:error C2244:'linearlistlink::insert' :unable to resolv

问题描述:

c++程序:error C2244:'linearlistlink::insert' :unable to resolve function overload
template
bool linearlistlink::insert(int k,const T& x)
{
if (k0&&!p) throw outofbounds ();
linknode *y=new linknode;
y->date=x;
if(k)
{
y->link=p->link;
p->link=y;
}
else
{
y->link=first;
first=y;
}
return ture;
}
编译之后总是出现:
error C2244:'linearlistlink::insert' :unable to resolve function overload
这是为什么呢?要怎么修改呢?
1个回答 分类:综合 2014-11-28

问题解答:

我来补答
unable to resolve function overload
不能处理函数重载
你的代码不完整,无法帮你修改错误
 
 
展开全文阅读
剩余:2000
上一页:画钩的
下一页:速率