nrEngine::null_deleter Struct Reference

All smart pointers created whithin this deleter could not be deleted outside. More...


Public Member Functions

void operator() (void const *) const


Detailed Description

All smart pointers created whithin this deleter could not be deleted outside.

This is an null_deleter - deleter. We need this to create smart pointer (SharedPtr<T>) from our singleton objects. Each pointer created with null deleter can not be released otherwhere else here. So we can give smart pointer to our singleton back and we can be sure, that our singleton object will not be deleted before Release-Function will be executed

See also:
boost.org for smart pointers

Definition at line 34 of file SmartPtr.h.


The documentation for this struct was generated from the following file:
Generated on Wed Sep 12 23:19:43 2007 for nrEngine by  doxygen 1.5.1