www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8799] New: Tuple Expand Property

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8799

           Summary: Tuple Expand Property
           Product: D
           Version: D2
          Platform: All
               URL: http://dlang.org/tuple.html
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: websites
        AssignedTo: nobody puremagic.com
        ReportedBy: Jesse.K.Phillips+D gmail.com



19:34:35 PDT ---
As per doc comment: http://www.prowiki.org/wiki4d/wiki.cgi?DocComments/Tuples

After the section starting with "Tuples can be used as arguments to templates,
and if so ...", you should mention, that tuples don't expand automatically to
multiple function arguments, but their expand property can be used to effect
this. Then show an example of this.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 10 2012
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8799




11:28:57 PDT ---
Sorry I miss understood and did not remember that Tuples do auto expand. The
actual request is mapping the Tuple to a function, as requested on SO:

http://stackoverflow.com/questions/12888263/mapping-variadic-template-arguments-in-d

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 19 2012