On Wednesday, 9 May 2012 at 20:52:33 UTC, Gor Gyolchanyan wrote:
I thought function default parameters need to be statically known...isn't it the case?
Nope – AFAIK you can also do something like (Foo param = new Foo).
David
On Wednesday, 9 May 2012 at 20:52:33 UTC, Gor Gyolchanyan wrote:
I thought function default parameters need to be statically known...isn't it the case?
Nope – AFAIK you can also do something like (Foo param = new Foo).
David