Validity of cast(void*)size_t.max

Nordlöw per.nordlow at gmail.com
Tue Feb 27 14:13:02 UTC 2018


Is `cast(void*)size_t.max` always an invalid address?

Is so, could it be used to indicate removed/delete elements in 
hash tables with open addressing and a key type being either a 
pointer or class?

And will it work correctly with the GC?


More information about the Digitalmars-d-learn mailing list