[Issue 9066] Add constructor inheritance feature

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 5 12:10:53 PDT 2013


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



--- Comment #12 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-10-05 12:10:51 PDT ---
(In reply to comment #11)
> This is more specific because you have to specify which constructor to inherit
> by stating the parameter types. So you will save less typing over this(int a) {
> super(a); }.

I'm thinking it would save the binary size though (save on duplicated functions
that do nothing but forward arguments). Especially if you use a mixin template
to autogenerate these (for whatever reason).

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