Set the address and size of the memory block described by this object.

Synopsis

Declared in <bdlma_memoryblockdescriptor.h>

void
setAddressAndSize(
    void* address,
    size_type size);

Description

Set the address and size of the memory block described by this object to the specified address and size. The behavior is undefined if `address' is 0 but `size` is not also 0.

Parameters

Name

Description

address

address of the memory block

size

size of the memory block in bytes

Created with MrDocs