jigdo API

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>

List of all members.


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]

SmartPtr_lockStatic::~SmartPtr_lockStatic (  )  [inline]


The documentation for this struct was generated from the following file:

Generated on Tue Sep 23 14:27:43 2008 for jigdo by  doxygen 1.5.6