On Mon, 13 Jun 2011 01:09:57 -0400, Steven Schveighoffer <[email protected]> wrote:

No. final is not a type constructor, so it does not get carried around with the type.

final int i;

assert(typeof(i) == int); // after the declaration, the storage class is gone from the type!

int * ip = &i;

Note, you might be able to forbid this line, but I don't think this works well.

-Steve

Reply via email to