Utility providing a no‐op deleter for managed pointers to stack objects.
Synopsis
Declared in <bslma_managedptr.h>
template<class TARGET_TYPE>
struct ManagedPtrNilDeleter;
Description
This utility class provides a general no‐op deleter, which is useful when creating managed pointers to stack‐allocated objects. Note that the non‐template class ManagedPtrUtil should be used in preference to this deprecated class, avoiding both template bloat and undefined behavior.
DEPRECATED: Use ManagedPtrUtil::noOpDeleter instead.