Yet another MRV proposal!

Bill Baxter dnewsgroup at billbaxter.com
Tue Apr 15 03:52:53 PDT 2008


Extrawurst wrote:
> Janice Caron schrieb:
>> On 15/04/2008, Extrawurst <spam at extrawurst.org> wrote:
>>  
>>>  First of all, returning Tuples with whatever syntax must be enabled, 
>>> right
>>> ?
>>>     
>>
>> I don't understand the question. What do you mean "enabled"? We
>> already have tuples, right now. This is already valid, working, D:
>>   
> 
> Now i am really confused, i confused Tuple's and TypeTuple's cause 
> returing a TypeTuple by a functions doesn't work. Where is the 
> difference there anyway ? Why need both ? Why has the normal 
> typecons.Tuple no []-op like the TypeTuple ?

Because typecons Tuple is just a plain old struct.  It happens to have 
some funky automatically generated members, but it's still just a plain 
old struct.  I was misled too.  It's not the Tuple you're looking for. 
You can go about your business.  Move along.

--bb



More information about the Digitalmars-d mailing list