BloombergLP::bdlma::MemoryBlockDescriptor::MemoryBlockDescriptor

Constructors

Synopses

Declared in <bdlma_memoryblockdescriptor.h>

Create a memory block descriptor having an address and size of 0.

MemoryBlockDescriptor();
» more...

Create a memory block descriptor having the same value as the specified original descriptor.

MemoryBlockDescriptor(MemoryBlockDescriptor const& original);
» more...

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.

MemoryBlockDescriptor(
    void* address,
    size_type size);
» more...

Parameters

NameDescription
originaldescriptor providing the value to copy
addressaddress of the memory block
sizesize of the memory block in bytes