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

Synopsis

Declared in <bdls_memoryutil.h>

struct MemoryUtil;

Enums

Name

Description

Access

Bit flags specifying memory access protection.

Static Member Functions

Name

Description

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.

Created with MrDocs