[Issue 2711] New: -H produces bad headers files if function defintion	is templated and have auto return value
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Fri Mar  6 09:44:44 PST 2009
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=2711
           Summary: -H produces bad headers files if function defintion is
                    templated and have auto return value
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: baryluk at smp.if.uj.edu.pl
# cat header.d
auto c(T)(T x) {
        return x;
}
# dmd -c -H header.d
# cat header.di
// D import file generated from 'header.d'
template c(T)
{
 c(T x)
{
return x;
}
}
Currenly std/math.d function abs in phobos have problem.
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list