On 17/09/12 14:42, Andrej Mitrovic wrote:
Related: http://d.puremagic.com/issues/show_bug.cgi?id=8676
A lot of code could be stripped if there was a way to set an optional
last parameter for variadics. lockstep could then be written as:
auto newLockstep(Args...)(Args args, StoppingPolicy
On 9/18/12, Don Clugston d...@nospam.com wrote:
That just looks like a bug to me. Please enter it in Bugzilla.
Ok: http://d.puremagic.com/issues/show_bug.cgi?id=8687
Hope Walter agrees with it.
Related: http://d.puremagic.com/issues/show_bug.cgi?id=8676
This is something to think about for D3 (or maybe even D2 if it
doesn't break code): it should be possible to inject default
parameters in the function header rather than the body when using
variadic templates. It would make