Article on Tuples

Walter Bright newshound at digitalmars.com
Wed Nov 15 16:28:18 PST 2006


Russ Lewis wrote:
> Walter Bright wrote:
>> http://www.digitalmars.com/d/tuple.html
> 
> The one thing I didn't get was why there was two versions of the "Curry" 
> template, one with a "Dummy" parameter.  Can you explain?  And then can 
> you post the explanation on that page?

It's because you cannot overload two templates with the same parameter 
list. So we make them different by giving one a dummy parameter.



More information about the Digitalmars-d-announce mailing list