Workspace 6.21.5
|
Functor to call KillObject if the object is marked as invalid (i.e. awaiting deletion).
#include <Mesh/DataStructures/numberedobjectlist.h>
Public Member Functions | |
void | operator() (T *&obj) |
|
inline |
Delete an object if it is marked for deletion and set its pointer in the list to NULL. Note that the parameter is a reference to a pointer. This is necessary because we want the caller to have its pointer modified, not just what the pointer points to.