www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8115] New: Templated default constructor not called

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 puremagic.com
        ReportedBy: wfunction hotmail.com


--- Comment #0 from wfunction 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: -------
May 18 2012