BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslma::ManagedPtrNilDeleter< TARGET_TYPE > Struct Template Reference

#include <bslma_managedptr.h>

Static Public Member Functions

static void deleter (void *, void *)
 Deleter function that does nothing.
 

Detailed Description

template<class TARGET_TYPE>
struct bslma::ManagedPtrNilDeleter< TARGET_TYPE >

[DEPRECATED]: Use ManagedPtrUtil::noOpDeleter instead.

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.

Member Function Documentation

◆ deleter()

template<class TARGET_TYPE >
void bslma::ManagedPtrNilDeleter< TARGET_TYPE >::deleter ( void *  ,
void *   
)
inlinestatic

The documentation for this struct was generated from the following file: