Const/Shared/Immutable anomalies in D that should be fixed

deadalnix deadalnix at gmail.com
Sun May 6 06:15:49 PDT 2012


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.


More information about the Digitalmars-d mailing list