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