On 02/27/2018 11:56 AM, Steven Schveighoffer wrote:
On 2/27/18 11:37 AM, Nordlöw wrote:
On Tuesday, 27 February 2018 at 16:31:51 UTC, Steven Schveighoffer wrote:
Why not use null?


It's already used to indicate that a slot is free. :)

cast(void*)1 is likely to be unused.

-Steve

And to be sure, one can have an actual object that represents nullness and use its pointer. (Similar to "the null object pattern".)

Ali

Reply via email to