//my.h
struct AFX_EXT_CLASS B
{
};

struct AFX_EXT_CLASS C
{
};

class AFX_EXT_CLASS A
{
public:
	template<class T>
	BOOL fun(T &Func)
	{
	}
};

//my.cpp
template AFX_EXT_CLASS BOOL A::fun<B>(B &func);
template AFX_EXT_CLASS BOOL A::fun<C>(C &func);


 

相关文章:

  • 2021-12-23
  • 2021-12-23
  • 2021-12-23
  • 2021-12-23
  • 2021-09-24
  • 2022-12-23
  • 2021-11-21
猜你喜欢
  • 2022-12-23
  • 2021-12-23
  • 2021-10-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
相关资源
相似解决方案