[nem-en] Const vs. Static non-mutable
Vladimir Reshetnikov
v.reshetnikov at gmail.com
Tue Feb 20 20:33:31 CET 2007
I vote for "volatile".
On 2/20/07, Kamil Skalski <kamil.skalski at gmail.com> wrote:
> "field"? how it would be used?
>
> I think volatile is not that bad - it means: this is immutable field,
> but it can change at any moment because of "external considerations".
> As in standard flow, volatile would be a low-level hint for compiler
> not to assume that field can be pre-fetched.
>
> 2007/2/20, NoiseEHC <NoiseEHC at freemail.hu>:
> > What if we would just define a "field" keyword? Or better an "immutable"
> > keyword?
> > Using volatile is clearly confusing.
> >
> >
> >
> > _______________________________________________
> > https://nemerle.org/mailman/listinfo/devel-en
> >
>
>
> --
> Kamil Skalski
> http://nazgul.omega.pl
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
More information about the devel-en
mailing list