how to handle void arguments in generic programming ?

Dicebot public at dicebot.lv
Mon Nov 11 05:28:55 PST 2013


On Monday, 11 November 2013 at 13:06:14 UTC, Timon Gehr wrote:
> void writelnIfNonVoid(T...)(lazy T a){

Whoa, one can apply attributes to variadic argument list? Yummy!


More information about the Digitalmars-d-learn mailing list