I think you misread my question.

I was asking about declaring a STRUCT as const, not a VARIABLE as
const.

On Sunday, 6 May 2012 at 13:09:06 UTC, deadalnix wrote:
Le 03/05/2012 08:00, Mehrdad a écrit :
Also, what exactly is the difference between declaring a struct as
immutable or as const? Aren't they unmodifiable either way?

Const can point to mutable or immutable data.

const are thread local and immutable aren't.

Reply via email to