param2 = param1
Jacob Carlborg
doob at me.com
Wed Aug 28 00:16:42 PDT 2013
On 2013-08-27 21:56, Walter Bright wrote:
> No reason. It simply never occurred to anyone. I've never heard of
> anyone wanting this in all my years of C, C++, and D.
void foo (ubyte[] source, ubyte[] destination = source);
Do some operation, by default override "source":
void scale (int width, int height = width);
> I'd reject an enhancement request for this unless someone could
> demonstrate significant utility for it.
So consistency is not a good argument?
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list