On Monday, 11 March 2013 at 22:42:26 UTC, Era Scarecrow wrote:
On Monday, 11 March 2013 at 21:31:53 UTC, Timon Gehr wrote:
On 03/11/2013 09:19 PM, Jonathan M Davis wrote:
On Monday, March 11, 2013 20:14:07 Timon Gehr wrote:
Actually, in D, static if creates its own scopes for
declarations made
inside the static if condition.
No, it doesn't,
Yes it does.
No, it doesn't.
and it would be _way_ less useful if it did,
I don't think so.
Oh? Examples inside the TDPL would break as the inner scopes
would be hidden and thereby inaccessible.
Good, now check the meaning of condition.