BloombergLP::bslma::DeallocateObjectProctor::DeallocateObjectProctor

Constructors

Synopses

Declared in <bslma_deallocateobjectproctor.h>

Move-construct a proctor from original.

DeallocateObjectProctor(bslmf::MovableRef<DeallocateObjectProctor> original);
» more...

Create a proctor to manage objects allocated from an allocator.

DeallocateObjectProctor(
    ALLOCATOR const& allocator,
    PtrType p,
    std::size_t n = 1);
» more...

Parameters

NameDescription
originalproctor to move from
allocatorallocator (or pool) from which the objects were allocated
paddress of the objects to manage, or null if disengaged
nnumber of objects to manage (1 by default)