BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bslma::SharedPtrOutofplaceRep_DeleterHelper Struct Reference

#include <bslma_sharedptroutofplacerep.h>

Detailed Description

This struct provides utility functions to apply a deleter to a shared object referred to by SharedPtrOutofplaceRep.

See bslma_sharedptroutofplacerep

Public Types

typedef SharedPtrOutofplaceRep_DeleterType DeleterType
 

Static Public Member Functions

template<class TYPE , class DELETER >
static void deleteObject (TYPE *ptr, DELETER &deleter)
 

Member Typedef Documentation

◆ DeleterType

DeleterType is an alias for the struct that defines the types of deleter used to destroy the shared object.

Member Function Documentation

◆ deleteObject()

template<class TYPE , class DELETER >
void bslma::SharedPtrOutofplaceRep_DeleterHelper::deleteObject ( TYPE *  ptr,
DELETER &  deleter 
)
inlinestatic

Delete the specified ptr using the specified deleter.


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