【发布时间】:2013-02-12 12:52:00
【问题描述】:
我该如何解决这个错误?
我的头文件
template<typename T>
class C1 {
public:
typedef std::vector<T::F> TFV;
TFV Function1();
};
我的 CPP 文件
template<typename T>
TFV C1::Function() //error: ‘TFV’ does not name a type
{ }
【问题讨论】: