The empty statement ";" - when is it useful?

Arthur Lloyd via at google.com
Tue Jul 28 11:28:17 PDT 2009


Daniel Keep Wrote:

> U comma(T,U)(T a, U b) { return b; }
> 
> Is there any reason you couldn't use something like that?

Sorry, this is probably a newbie question, but.. So instead of return a, b, c; you now have to write return comma(a, comma(b, c)); ? How will that help?



More information about the Digitalmars-d mailing list