D is awesome, my situation, questions
Kirk McDonald
kirklin.mcdonald at gmail.com
Sun Jun 4 13:27:48 PDT 2006
Johan Granberg wrote:
> mike.benfield at gmail.com wrote:
>
>> In article <e5u46f$hbe$1 at digitaldaemon.com>, Johan Granberg says...
>>
>>> I to would like tuples (and the other things to) but I realy thing
>>> tuples should bee an Built in type.
>>>
>>> Syntax proposal: tuple(type,type,type)
>>
>>
>> Why would you prefer tuples to be built in?
>
> Because I feel tuple is an fundsmental building block much like arrays
> and as such should bee built in. An additional advantage is that if it
> is a built in type their is no restriction on the number of elements in
> the tuple.
>
> /Just my personal preference by the way
This is similarly true if we ever get variadic templates.
-Kirk McDonald
More information about the Digitalmars-d
mailing list