Object.factory and default constructor

Jakob Ovrum jakobovrum at gmail.com
Fri Feb 14 04:55:06 PST 2014


On Friday, 14 February 2014 at 12:53:55 UTC, Cherry wrote:
> So the question is -- Does D not consider this(int x=0); a 
> default constructor?

No, that is not a default constructor. Use overloading if you 
want it to be.


More information about the Digitalmars-d mailing list