分类: C/C++
2008-08-27 11:44:39
|
编译的时候出错:
[support@ailf ~]$ g++ tempmemb.cpp -o tempmemb tempmemb.cpp: In member function `U beta |
查找错误原因:
一.
template removed, problem solved: Summary: "instantiate from here" = "please remove template" I don't want to sound sarcastic, but today (2008) a compiler that is responsible for so many applications should know how to handle templates .. and should be able to report errors with enough data. |