12#ifndef ROC_CORE_ALIGNED_STORAGE_H_
13#define ROC_CORE_ALIGNED_STORAGE_H_
26 return sizeof(Memory);
31 return memory_.payload;
36 return memory_.payload;
42 char payload[Size != 0 ? Size : 1];
Fixed-size maximum-aligned storage.
const void * memory() const
Get storage memory.
void * memory()
Get storage memory.
static size_t size()
Get storage size.
General-purpose building blocks and platform abstraction layer.
Commonly used types and functions.
Maximum aligned data unit.