Constructors

Synopses

Declared in <bslma_deallocateobjectproctor.h>

This move constructor creates a proctor managing the same object as original. After the move, original is disengaged.

Create a proctor to manage the optionally specified n objects at the specified p address, which have been allocated from the specified allocator. If p is null, then the created proctor is disengaged (manages no objects). The behavior is undefined if p is non‐null but not allocated from allocator or if p does not point to an array of n objects.

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

Created with MrDocs