The LocalStaticInstantiation policy allows the creation and lifetime of an instance of a particular type to be managed using static local values. This will abide by the standard C++ rules for static objects lifetimes.
Member Function Documentation
void create
(
T *&
ptr
)
[inline, static, protected]
Create an instance of an object, using a local static. The object will be destroyed by the system.
Parameters:
ptr
reference to location to receive the address of the allocated object
The documentation for this class was generated from the following file:
Singleton.h
Generated on Tue Aug 27 07:43:12 2002 for ZThread by
1.2.17