BloombergLP::bdlma::MemoryBlockDescriptor::MemoryBlockDescriptor

Create a memory block descriptor having the specified address and size. The behavior is undefined if address is 0 but size is not also 0.

Synopsis

Declared in <bdlma_memoryblockdescriptor.h>

MemoryBlockDescriptor(
    void* address,
    size_type size);

Parameters

NameDescription
addressaddress of the memory block
sizesize of the memory block in bytes