[Issue 9066] Implicit constructor inheritance
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 4 04:10:01 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9066
--- Comment #5 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-10-04 04:09:58 PDT ---
Copying my comment from github:
C++11 has this feature:
http://stackoverflow.com/questions/9979194/what-is-constructor-inheritance
I think the only real issue is what syntax to use in D. C++ uses:
-----
using Base::Base;
-----
At first glance in D it would be:
-----
alias Base.this this; // or Super.this
-----
But this conflicts with the subtyping syntax.
--
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