[Issue 8115] New: Templated default constructor not called

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 18 15:26:29 PDT 2012


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

           Summary: Templated default constructor not called
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: wfunction at hotmail.com


--- Comment #0 from wfunction at hotmail.com 2012-05-18 15:28:03 PDT ---
struct S { this(A...)(A) { static assert(0, "It compiles?!"); } }
void main() { auto s = S(); }

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