surrounded type modifier

Namespace rswhite4 at googlemail.com
Wed Sep 18 06:23:08 PDT 2013


Code:
----
const { /// [1]
	int a = 3;
}

void main()
{
	const { /// [2]
		int b = 4;
	}
}
----

Why is [1] allowed, but not [2]?


More information about the Digitalmars-d-learn mailing list