jigdo API
Last update by Admin on 2010-05-23
SmartPtr_lockStatic Struct Reference
If static objects are accessed through smart pointers, ensure that there are no attempts to delete them, by defining a non-static SmartPtr_lockStatic(object), which MUST be DEFINED (not declared) AFTER the object being locked, in the SAME translation unit. More...
#include <smartptr.hh>
Public Member Functions | |
SmartPtr_lockStatic (SmartPtrBase &obj) | |
~SmartPtr_lockStatic () |
Detailed Description
If static objects are accessed through smart pointers, ensure that there are no attempts to delete them, by defining a non-static SmartPtr_lockStatic(object), which MUST be DEFINED (not declared) AFTER the object being locked, in the SAME translation unit.Otherwise, order of construction is not defined.
Constructor & Destructor Documentation
SmartPtr_lockStatic::SmartPtr_lockStatic | ( | SmartPtrBase & | obj | ) | [inline] |
References SmartPtrBase::smartPtr_refCount.
SmartPtr_lockStatic::~SmartPtr_lockStatic | ( | ) | [inline] |
The documentation for this struct was generated from the following file:
- util/smartptr.hh
Generated on Tue Sep 23 14:27:43 2008 for jigdo by
