Should (p - q) be disallowed in @safe code?
Walter Bright
newshound2 at digitalmars.com
Sun Jan 4 02:09:03 UTC 2026
I'm just going to make p-q an error in @safe code. If someone still wants to do
it, they can cast the pointers to size_t, or make it @trusted/@system code.
More information about the Digitalmars-d
mailing list