C++ keywords: alignof (since C++11)
From cppreference.com
[edit] Usage
-
alignof
operator (since C++11)
[edit] Example
Run this code
#include <iostream> #include <cstddef> int main() { std::cout << alignof(std::max_align_t) << '\n'; }
Possible output:
16