Can I legally reinterpret_cast between layout-compatible standard-layout types?

but I can’t see anything in the standard that therefore allows me to reinterpret_cast between them, even though that seems like the reasonable interpretation of “value representation”. Is this technically allowed by the standard? No. The standard is clear (see [basic.lval] p10) about which types can be aliased, and layout-compatible types are not included. If … Read more