Skip to content

num::assume_storage_aligned

Defined in header <container/util/aligned_storage.hpp>

template <class T>
T *assume_storage_aligned(T *pointer) noexcept;

Restate a container's storage alignment for the optimizer. Valid only on the base pointer of storage obtained above; null passes through.