initialize static singleton data, thx to Peter Long

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@834 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2007-08-02 19:36:10 +00:00
parent 7375e1e987
commit a0268bf729

View file

@ -759,7 +759,7 @@ namespace Loki
class X
>
typename SingletonHolder<T, C, L, M, X>::PtrInstanceType
SingletonHolder<T, C, L, M, X>::pInstance_;
SingletonHolder<T, C, L, M, X>::pInstance_ = 0;
template
<
@ -769,7 +769,7 @@ namespace Loki
template <class, class> class M,
class X
>
bool SingletonHolder<T, C, L, M, X>::destroyed_;
bool SingletonHolder<T, C, L, M, X>::destroyed_ = false;
////////////////////////////////////////////////////////////////////////////////
// SingletonHolder::Instance