Extended Type Design.

Walter Bright newshound at digitalmars.com
Fri Mar 16 13:20:50 PDT 2007


Frits van Bommel wrote:
> Seriously though:
> "readonly" would mean that you (meaning any code that can access the 
> symbol so declared) can only read data referenced through it, but 
> someone else _may_ be able to write to it[2].

My perception of that is different. I used to do embedded systems, and
'readonly' means the data went into ROM. Also, marking a page in a 
virtual memory system as 'readonly' means that nobody can modify it.

'super const' at least has the connotation of being "constant, this time 
we mean it".



More information about the Digitalmars-d mailing list