BloombergLP::bslma::DeallocateBytesProctor::DeallocateBytesProctor

Constructors

Synopses

Declared in <bslma_deallocatebytesproctor.h>

Move-construct a proctor from original.

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

Create a proctor to manage a memory block from the specified allocator.

DeallocateBytesProctor(
    ALLOCATOR const& allocator,
    PtrType p,
    std::size_t nbytes,
    std::size_t alignment = k_MAX_ALIGNMENT);
» more...

Parameters

NameDescription
originalproctor to move from
allocatorallocator (or pool) that allocated p
paddress of the memory block to manage, or null
nbytessize in bytes of the block at p
alignmentalignment used when p was allocated