Smart pointers instead of GC?

Walter Bright newshound2 at digitalmars.com
Sun Feb 2 12:07:51 PST 2014


On 2/2/2014 9:55 AM, Timon Gehr wrote:
> - how to eg. create an array of nullable references? struct Nullable!T{
> @nullable T t; alias t this; } Nullable!T[] foo; ? I think that would cause
> problems with IFTI.

@nullable being a storage class, this couldn't be done with @nullable just as 
you cannot create an array of 'ref' types.


More information about the Digitalmars-d mailing list