Stepping back and looking at constness from another angle.

Bill Baxter dnewsgroup at billbaxter.com
Tue Jun 5 14:42:01 PDT 2007


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



More information about the Digitalmars-d mailing list