Quick Links:

bal | bbl | bdl | bsl

Public Types

bslma::SharedPtrOutofplaceRep_DeleterType Struct Reference

#include <bslma_sharedptroutofplacerep.h>

List of all members.

Public Types

enum  {
  BSLMA_ALLOCATOR_PTR = 0, BSLMA_FACTORY_PTR = 1, BSLMA_FUNCTOR_WITH_ALLOC = 2, BSLMA_FUNCTOR_WITH_ALLOC_ARG_T = 3,
  BSLMA_FUNCTOR_WITHOUT_ALLOC = 4
}
 

Enumeration used to discriminate among the different deleters.

More...

Detailed Description

This struct enumerates four kinds of deleters, the first two are factory deleters, and the last two are function-like deleters.

See Component bslma_sharedptroutofplacerep


Member Enumeration Documentation

anonymous enum
Enumerator:
BSLMA_ALLOCATOR_PTR 

Used to indicate that a deleter is a pointer that follows the Allocator protocol.

BSLMA_FACTORY_PTR 

Used to indicate that a deleter is a pointer to a factory object that implements the deleteObject protocol.

BSLMA_FUNCTOR_WITH_ALLOC 

Used to indicate that a deleter is a functor that takes an allocator at construction.

BSLMA_FUNCTOR_WITH_ALLOC_ARG_T 

Used to indicate that a deleter is a functor that takes an allocator at construction using the bsl::allocator_arg idiom.

BSLMA_FUNCTOR_WITHOUT_ALLOC 

Used to indicate that a deleter is a functor that does not take an allocator at construction.


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