Variant confusion

Nick Treleaven ntrel-public at yahoo.co.uk
Mon Mar 11 10:22:26 PDT 2013


On 11/03/2013 15:25, Peter Sommerfeld wrote:
>>> alias Value = Variant;
>>> alias List = Value[];
>>> alias Map = List[Value];
>>
>> Oh, the new alias syntax is in?
>
> Hmmm, I'm new to D, why should I use the old one? And I like
> the new one more too, it is more descriptive IMHO.

The new syntax is fine, and to be preferred.


More information about the Digitalmars-d-learn mailing list