On the one hand, the x array cannot be correctly aligned for int .
There was a conversation about how this might affect methods such as placing new . It should be noted that new placements should also arise in correctly combined memory, but the placement of new ones is often used with dynamically allocated memory, and the distribution functions (in C and C ++) are necessary to return a memory suitable for any type, so the address can be assigned to a pointer of any type.
The same does not apply to memory allocated by the compiler for automatic variables.
source share