Null references (oh no, not again!)

bearophile bearophileHUGS at lycos.com
Wed Mar 4 10:21:26 PST 2009


Andrei Alexandrescu:
> extern(C) MaybeNull!(void*) malloc(size_t s);

Probably I have missed part of the discussion, because wasn't it appreciated by people to use "?" to denote nullables? Something like:

extern(C) void*? malloc(size_t s);

Bye,
bearophile



More information about the Digitalmars-d mailing list