Constructors
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...
| 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) |