Why isn't the array lenght property an lvalue?

Jeroen Bollen jbinero at gmail.com
Mon Apr 7 12:13:30 PDT 2014


When I have myarray.length, why isn't that considered an lvalue, 
and as a result, why cannot I get a pointer to it?

It seems kinda dumb, I understand it cannot be changed manually, 
but surely you should be able to get a const(type)* from it?


More information about the Digitalmars-d mailing list