private constructors and inheritance
Dicebot via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Apr 29 07:15:42 PDT 2014
http://dlang.org/class.html#constructors
"If no call to constructors via this or super appear in a
constructor, and the base class has a constructor, a call to
super() is inserted at the beginning of the constructor."
The fact that call to base constructor is not inserted into
templated this()() looks like a bug to me.
More information about the Digitalmars-d-learn
mailing list