Subject: Re: [std-proposals] Allowing access to object representations
From: sdkrystian (sdkrystian_at_[hidden])
Date: 2019-08-02 12:30:59
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.Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: "Tjernstrom, Staffan via Std-Proposals" <std-proposals_at_[hidden]> Date: 8/2/19 13:18 (GMT-05:00) To: std-proposals_at_[hidden] Cc: "Tjernstrom, Staffan" <Staffan.Tjernstrom_at_[hidden]> 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....We have to maintain very large code-bases built upon this edifice. Not only do we need a solution, we need one that can be mechanically implemented.________________________________IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.-- Std-Proposals mailing listStd-Proposals_at_[hidden]http://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
STD-PROPOSALS list run by herb.sutter at gmail.com
Standard Proposals Archives on Google Groups