Validity of cast(void*)size_t.max

Nordlöw per.nordlow at gmail.com
Fri Mar 2 20:26:38 UTC 2018


On Wednesday, 28 February 2018 at 20:07:50 UTC, Steven 
Schveighoffer wrote:
> auto x = cast(Object)((cast(size_t *)null) + 1);

Is this preferred performance-wise over `cast(void*)(size_t.max)`?


More information about the Digitalmars-d-learn mailing list