Const sucks
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Mon Sep 10 18:20:51 PDT 2007
Derek Parnell wrote:
>
>> o const and invariant now mean "fully const" and "fully invariant",
>> where fully means "head and tail combined":
>
> Remind me again what the difference between 'const' and 'invariant' is.
>
'invariant' = constant
'const' = read-only
It's simple I think.
--
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
More information about the Digitalmars-d
mailing list