Subject: Re: [std-proposals] What happened on "Null safety" in p0946r0 about p <=> nullptr
From: Kazutoshi Satoda (k_satoda_at_[hidden])
Date: 2019-12-05 06:15:16
On 2019/12/05 20:13 +0900, Jake Arkinstall wrote:
> Im just thinking from the memory model point of view. A nullptr is
> implicitly convertible to a fictional object at address 0. Valid pointers
> represent objects at address >0.
Such a model is beyond the standard. Requiring specific result based on
"null pointer is address 0" model can force suboptimal code generation
on environments with different model.
STD-PROPOSALS list run by email@example.com
Standard Proposals Archives on Google Groups