Constructor Inheritance
H. S. Teoh via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jun 20 20:06:22 PDT 2016
On Tue, Jun 21, 2016 at 02:48:39AM +0000, ketmar via Digitalmars-d-learn wrote:
> no and no. howewer, creating template mixin with default ctors may
> spare you of some typing.
I think Phobos has an AutoImplement template that might do this for you.
Maybe take a look in std.typecons or std.meta (or wherever they shove
those things these days)?
T
--
"Hi." "'Lo."
More information about the Digitalmars-d-learn
mailing list