【发布时间】:2010-08-18 03:31:39
【问题描述】:
我有模板类A,定义在a.hpp中
啊。
template <...>
A
{
void Test();
};
#include a.hpp
如果让
cscope -bq a.h
那么cscope可以找到Test声明,但是找不到定义。
如果让
cscope -bq a.h a.hpp
然后 cscope 甚至找不到测试声明。 有什么建议吗? 谢谢。
【问题讨论】:
-
'
#include'行的语法无效...