[Issue 9066] New: Implement constructor forwarding template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 23 11:02:27 PST 2012


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

           Summary: Implement constructor forwarding template
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-11-23 11:02:26 PST ---
This would alleviate the need to write boilerplate code by hand, e.g.:

class MyException : Exception
{
    mixin ForwardCtors;
}

An experimental implementation is provided in the attachment.

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