shorter alternative of constructor with parameter

Tofu Ninja via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 23 20:49:14 PDT 2014


On Tuesday, 24 June 2014 at 03:19:58 UTC, AsmMan wrote:
> See C++ foo(int x) : x(x) {} is just too ugly either.  I don't
> know if there are someone that share same feel.

I agree, we don't need more syntax sugar.


More information about the Digitalmars-d mailing list