[Issue 4215] New: auto ref parameters don't work with class template variables

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 20 15:35:35 PDT 2010


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

           Summary: auto ref parameters don't work with class template
                    variables
           Product: D
           Version: 2.038
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: mrmocool at gmx.de


--- Comment #0 from Trass3r <mrmocool at gmx.de> 2010-05-20 15:35:34 PDT ---
Something like

class Foo(T)
{
    void bar(auto ref T item)
    {
    }
}

doesn't work.

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


More information about the Digitalmars-d-bugs mailing list