www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8452] New: if lambda function can be template?


           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: nobody puremagic.com
        ReportedBy: galaxylang gmail.com

--- Comment #0 from galaxylang <galaxylang 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;
    //auto    lam2=d1!int;
    //auto    lam3 =(x,y)=>x+y;

     alias d1!int ss;
    return 0;

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