Constructors
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...
| Name | Description |
|---|---|
| original | proctor to move from |
| allocator | allocator (or pool) that allocated p |
| p | address of the memory block to manage, or null |
| nbytes | size in bytes of the block at p |
| alignment | alignment used when p was allocated |