Validity of cast(void*)size_t.max

Nordlöw per.nordlow at gmail.com
Mon Mar 5 18:04:20 UTC 2018


On Monday, 5 March 2018 at 16:07:49 UTC, Steven Schveighoffer 
wrote:
> No, I mean you call holeKey at *runtime*. Inlined, it's just 
> returning a constant, so it should reduce to a constant.

A compile-time constant visible to the optimizer?


More information about the Digitalmars-d-learn mailing list