[Issue 8491] New: alias basic type in template paramter unable pass complie

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 1 08:20:37 PDT 2012


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

           Summary: alias basic type in template paramter unable pass
                    complie
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: galaxylang at gmail.com


--- Comment #0 from galaxylang <galaxylang at gmail.com> 2012-08-01 08:20:36 PDT ---
template m(alias T)
{
alias T m;
}
class Fo{}

m!Fo fo;//pass
m!int i;//error

-- 
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