http://d.puremagic.com/issues/show_bug.cgi?id=8452

           Summary: if lambda function can be template?
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: galaxyl...@gmail.com


--- Comment #0 from galaxylang <galaxyl...@gmail.com> 2012-07-27 08:40:53 PDT 
---
as you can see,if lam3 can be passed?
int main(string[] argv)
{

    T d1(T)(T x)
    {
        return x;
    }
    //auto    lam1=d1;
    //lam1!int(0);
    //auto    lam2=d1!int;
    //lam2(0);
    //auto    lam3 =(x,y)=>x+y;
    //lam3(1,2)

     alias d1!int ss;
     ss(1);
    return 0;
}

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

Reply via email to