Quick Links: |
#include <bslma_sharedptroutofplacerep.h>
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... |
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
anonymous enum |
BSLMA_ALLOCATOR_PTR |
Used to indicate that a deleter is a pointer that follows the |
BSLMA_FACTORY_PTR |
Used to indicate that a deleter is a pointer to a factory object that implements the |
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 |
BSLMA_FUNCTOR_WITHOUT_ALLOC |
Used to indicate that a deleter is a functor that does not take an allocator at construction. |