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.
Declared in <bslma_managedptr.h>
template<class TARGET_TYPE>
struct ManagedPtrNilDeleter;
DEPRECATED: Use ManagedPtrUtil::noOpDeleter instead.
| Name | Description |
|---|---|
deleter | Deleter function that does nothing. |