BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslma::SharedPtrOutofplaceRep_DeleterHelper Struct Reference

#include <bslma_sharedptroutofplacerep.h>

Public Types

typedef SharedPtrOutofplaceRep_DeleterType DeleterType
 

Static Public Member Functions

template<class TYPE , class DELETER >
static void deleteObject (TYPE *ptr, DELETER &deleter)
 Delete the specified ptr using the specified deleter.
 

Detailed Description

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

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

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