C++ Singleton Help# Programming - 葵花宝典
C*r
1 楼
I need port a C++ application from linux to VC++ environment. I am using
Visual studio 2005. I just can't get it compiled successfully. The problem
is the reference to pointer type returned by a function. I know there are
tons of implementations about singleton class. But I need your help to tell
me what's wrong with my implementation. You can use test.cc I attached to
link Singleton.h
Thank you very much.
The head file Single.h:
/ NAMESPACES
namespace Qf
{
template class Singlet
Visual studio 2005. I just can't get it compiled successfully. The problem
is the reference to pointer type returned by a function. I know there are
tons of implementations about singleton class. But I need your help to tell
me what's wrong with my implementation. You can use test.cc I attached to
link Singleton.h
Thank you very much.
The head file Single.h:
/ NAMESPACES
namespace Qf
{
template