BloombergLP::bdls::MemoryUtil

This struct provides a namespace for platform-independent memory manipulation utilities.

Synopsis

Declared in <bdls_memoryutil.h>

struct MemoryUtil;

Enums

NameDescription
Access Bit flags specifying memory access protection.

Static Member Functions

NameDescription
allocate Allocate page-aligned memory of the specified size.
deallocate Deallocate memory previously obtained from allocate.
pageSize Return the memory page size of the platform.
protect Change the access protection on a region of memory.