alignas and alignof

alignas and alignof are 202203061200# keywords in C and C++. The first helps to position objects on cache boundaries which could improve memory access in certain cases. The latter can be used to check the memory alignment of the object.

#c #cpp #memory