string literals

Christopher Wright dhasenan at gmail.com
Fri Jan 25 05:05:04 PST 2008


bearophile wrote:
> Saaa:
> 
>> Then, how about adding the .access property to arrays? (or all types :) With strings default .access as read only?<
> 
> What's the .access property of arrays in the language you talk about?

Basically runtime const, as far as I can tell. You can fake it with a 
class easily enough.


More information about the Digitalmars-d-learn mailing list