错误C2995:函数模板已定义,这意味着什么?什么是那里的错误? [英] Error C2995: function template have been defined what does that means??? whats the error there???

查看:1287
本文介绍了错误C2995:函数模板已定义,这意味着什么?什么是那里的错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用一个名为linkedbag的类,该类具有一个属性,该属性是另一个名为node的类的对象的动态数组,该类具有属于动态数组的属性。我做了所有操作符重载,我认为可以帮助但我仍然得到
27错误C2995,表示函数"模板已定义"我不知道这意味着什么,我能做到最好,而且它一直在给我那些错误。我如何解决它并让我的程序运行????  

Im working with a class named linkedbag that have an attribute that is a dynamic array of an object of another class named node that have an attribute that is a dynamic array. I made all the operator overloading that I think could help but I still getting 27 error C2995 that says function "template have been defined" and I don't know what does that means I did whaveter I could and it keeps giving me those erros. How can I resolve it and make my program run????  

推荐答案

我仍然得到27个错误C2995,表示功能"模板已被定义"而且我不知道这意味着什么我如何解决它并让我的程序运行????  
I still getting 27 error C2995 that says function "template have been defined" and I don't know what does that means How can I resolve it and make my program run????  

编译器错误C2995

https://msdn.microsoft.com/en-us/library/ydwzahe8.aspx



除了建议您更正重新定义之外,我们可以在没有看到实际代码的情况下建议几乎没有b $ b。



- Wayne

Compiler Error C2995
https://msdn.microsoft.com/en-us/library/ydwzahe8.aspx

Other than suggesting that you correct the redefinitions, there is little
we can suggest without seeing some actual code.

- Wayne


这篇关于错误C2995:函数模板已定义,这意味着什么?什么是那里的错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆