param2 = param1

Walter Bright newshound2 at digitalmars.com
Tue Aug 27 14:19:18 PDT 2013


On 8/27/2013 1:05 PM, H. S. Teoh wrote:
> TBH I've never heard of anyone wanting normal (non-template) parameters
> to default to another parameter either. D is the first language I know
> that has such a feature.

It was implemented because it was necessary for many templates.



More information about the Digitalmars-d mailing list