| 17 | struct alignas(64) Empty64 {}; |
| 18 | |
| 19 | int main() |
| 20 | { |
| 21 | std::cout << "Alignment of" "\n" |
| 22 | "- char : " << alignof(char) << "\n" |
| 23 | "- pointer : " << alignof(int*) << "\n" |
| 24 | "- class Foo : " << alignof(Foo) << "\n" |
| 25 | "- class Foo2 : " << alignof(Foo2) << "\n" |
| 26 | "- empty class : " << alignof(Empty) << "\n" |
| 27 | "- alignas(64) Empty: " << alignof(Empty64) << "\n"; |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected