Stepping back and looking at constness from another angle.
Don Clugston
dac at nospam.com.au
Tue Jun 5 23:11:21 PDT 2007
Bill Baxter wrote:
> Don Clugston wrote:
>>
>> I'm also a bit concerned that T[new] doesn't seem to be orthogonal to
>> other const issues. It doesn't make sense to have an array which you
>> can change the size of, but can't write to.
>
> What do you mean? T[new] would be an array which you can both change
> the size of and write to. T[] would be an array which you can write to
> but can't change the size of.
>
> --bb
What is a const T[new] ?
More information about the Digitalmars-d
mailing list