Workspace 6.21.5
Public Member Functions | List of all members
KillObject< T > Class Template Reference

Functor for deleting an object and NULL-ifying the list pointer to it./.

#include <Mesh/DataStructures/numberedobjectlist.h>

Public Member Functions

void operator() (T *&obj)
 

Member Function Documentation

◆ operator()()

void operator() ( T *&  obj)
inline

Delete an object 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.