C++ keyword: alignas (since C++11)
Usage
Example
struct s1 final {};
struct alignas(2) s2 final {};
static_assert(alignof(s1) == 1);
static_assert(alignof(s2) == 2);
See also
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/keyword/alignas