47 template <
class YI_CLASS>
70 const YI_CLASS *
Get()
const;
81 const YI_CLASS *
TryGet()
const;
91 mutable std::atomic<YI_CLASS *> m_pInstance;
~CYILazy()
Definition: YiLazy_impl.h:18
CYILazy is a thread-safe lazy initializer of a class. The instance pointer remains null until CYILazy...
Definition: YiLazy.h:48
CYILazy()
Definition: YiLazy_impl.h:12
const YI_CLASS * Get() const
Definition: YiLazy_impl.h:29
const YI_CLASS * TryGet() const
Definition: YiLazy_impl.h:52