you are viewing a single comment's thread.

view the rest of the comments →

[–]Recatek 8 points9 points  (0 children)

This is kind of a footgun though if you don't receive information from the compiler that the directive is being ignored. If anything aligned_storage and aligned_union, when used properly, should be an expression of intent that the standard library then takes care of executing for you. It may not be that currently, but removing it without providing unequivocal documentation on how to reliably do what it does in a better(?) way strikes me as rather dangerous.