Should the comma operator be removed in D2?

Stewart Gordon smjg_1998 at yahoo.com
Wed Nov 18 12:01:10 PST 2009


Robert Jacques wrote:
<snip>
> However, I imagine tuple(a++,b++) would have some overhead, which is 
> exactly what someone is trying to avoid by using custom for loops.
<snip>

Even if tuples do have an overhead, it would be a naive compiler that 
generates it in cases where nothing is done with it.

Stewart.



More information about the Digitalmars-d mailing list