Constructors
Declared in <bslma_deallocatebytesproctor.h>
This move constructor creates a proctor managing the same block as original. After the move, original is disengaged.
DeallocateBytesProctor(bslmf::MovableRef<DeallocateBytesProctor> original);
» more...
Create a proctor to manage the specified nbytes bytes at the specified p address, which have been allocated from the specified allocator. Optionally specify the alignment used to allocate the bytes. If p is null, then the created proctor is disengaged (manages no memory). The behavior is undefined unless p is null or was allocated from allocator with a size of nbytes and alignment of alignment.
DeallocateBytesProctor(
ALLOCATOR const& allocator,
PtrType p,
std::size_t nbytes,
std::size_t alignment = k_MAX_ALIGNMENT);
» more...