BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslma::SharedPtrOutofplaceRep_DeleterDiscriminator_Imp< DELETER, IS_ALLOC_PTR > Class Template Reference

#include <bslma_sharedptroutofplacerep.h>

Public Types

enum  { VALUE }
 
typedef bsl::conditional< bsl::is_function< DELETER >::value, DELETER *, DELETER >::type Type
 

Detailed Description

template<class DELETER, bool IS_ALLOC_PTR>
class bslma::SharedPtrOutofplaceRep_DeleterDiscriminator_Imp< DELETER, IS_ALLOC_PTR >

This class provides the implementation of the SharedPtrOutofplaceRep_DeleterDiscriminator for the DELETER template parameter type, which is not Allocator *.

See bslma_sharedptroutofplacerep

Member Typedef Documentation

◆ Type

template<class DELETER , bool IS_ALLOC_PTR>
typedef bsl::conditional<bsl::is_function<DELETER>::value,DELETER*,DELETER>::type bslma::SharedPtrOutofplaceRep_DeleterDiscriminator_Imp< DELETER, IS_ALLOC_PTR >::Type

Type represents the type of the deleter used to destroy the shared object.

Member Enumeration Documentation

◆ anonymous enum

template<class DELETER , bool IS_ALLOC_PTR>
anonymous enum
Enumerator
VALUE 

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