Types of alignment strategy.
Declared in <bsls_alignment.h>
enum Strategy;
| Name | Description |
|---|---|
BSLS_MAXIMUM | Align memory block based on the most restrictive alignment requirements of the host platform. |
BSLS_NATURAL | Align memory block on an address that is the largest power of two that evenly divides the size (in bytes) of the block. |
BSLS_BYTEALIGNED | Align memory block based on the least restrictive alignment requirements of the host platform (1-byte aligned). |