Tuple literal syntax

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Oct 7 11:48:31 PDT 2010


On 10/7/10 13:44 CDT, retard wrote:
> Thu, 07 Oct 2010 19:12:45 +0200, Simen kjaeraas wrote:
>
>> retard<re at tard.com.invalid>  wrote:
>>
>>> If you don't have first class tuple constructors and define them with a
>>> template, that's unfortunately not structural typing.
>>
>> Might I inquire as to why?
>
> I see these "tuples" defined with a template merely as structs in
> disguise. They don't cover all the cases where built-in first class
> tuples can be used.

Could you please take the time to put together a list of requirements? 
That would be great for either making Tuple better or for improving the 
language.

Andrei


More information about the Digitalmars-d mailing list