obliterate

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Nov 12 17:21:19 PST 2013


On 11/12/13 5:10 PM, Vladimir Panteleev wrote:
>> * Pointers and class references: size_t.max - 65_535, i.e. 64K below
>> the upper memory limit. On all systems I know it can be safely assumed
>> that that area will cause GPF when accessed.
>
> Make that value odd. That will also guarantee a GPF on systems where
> unaligned pointer access is forbidden.

Ha, I missed that. Nice!

Andrei



More information about the Digitalmars-d mailing list