alignof
operator (since C++11) #include <iostream> #include <cstddef> int main() { std::cout << alignof(std::max_align_t) << '\n'; }
Possible output:
16
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/keyword/alignof