The solution I propose covers most of the use cases (the ones it doesn't cover are for object of a type that has virtual bases or virtual functions). Unless you are doing something really sketchy, it will make a lot of existing code well defined.
-------- Original message --------
From: "Tjernstrom, Staffan via Std-Proposals" <std-proposals@lists.isocpp.org>
Date: 8/2/19 13:18 (GMT-05:00)
To: std-proposals@lists.isocpp.org
Cc: "Tjernstrom, Staffan" <Staffan.Tjernstrom@sig.com>
Subject: Re: [std-proposals] Allowing access to object representations
... I am sure most of us remember how in the early 2000s most C++ programmers did not care whether their code had UB but were instead adhering to a sort of unofficial standard where e.g., something like dereferencing a null pointer would be illegal, but violating strict aliasing is A-OK....