Optimize my code =)

bearophile bearophileHUGS at lycos.com
Mon Feb 17 23:45:17 PST 2014


Stanislav Blinov:

> that explicit ctor
> for Dimension is completely unnecessary too.

I like a constructor(s) like that because it catches bugs like:

auto d = Dimension(5);

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list