Smart pointers instead of GC?

Walter Bright newshound2 at digitalmars.com
Tue Feb 4 16:47:28 PST 2014


On 2/4/2014 2:39 PM, Dicebot wrote:
> Also non-nullable types should be implicitly cast to nullable parameters so you
> don't always need to support all cases distinctively.

The difficulty comes when needing to transfer the nullability of the argument to 
the nullability of the return type. Implicit conversions don't help with that.

See inout.


More information about the Digitalmars-d mailing list