Andrei Alexandrescu wrote:
bearophile wrote:
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

Please no more syntax.

Andrei

It seems to me that making references non-nullable and pointers maybe-nullable covers all the use-cases.

Reply via email to