Constructors

Synopses

Declared in <bslma_deallocateobjectproctor.h>

Move‐construct a proctor from original.

Create a proctor to manage objects allocated from an allocator.

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

Parameters

Name

Description

original

proctor to move from

allocator

allocator (or pool) from which the objects were allocated

p

address of the objects to manage, or null if disengaged

n

number of objects to manage (1 by default)

Created with MrDocs