any news on const/invariant?
0ffh
frank at frankhirsch.youknow.what.todo.net
Mon Nov 26 17:19:21 PST 2007
Walter Bright wrote:
> Derek Parnell wrote:
>> [...]
>> How would I specify that I have a buffer of bytes and I can't change its
>> location but I can change its contents?
>
> You can't. A good question would be what would be the purpose of such?
Well, it might make sense with a moving GC, I suppose;
which we won't have anyway, as long as we have void[]
or malloc, and I think I wouldn't want to miss those.
regards, frank
More information about the Digitalmars-d
mailing list