array.length++ not an lvalue

Georg Wrede georg at nospam.org
Thu Jun 19 06:56:41 PDT 2008


Koroskin Denis wrote:
> D *could* do the following trick:
> array.length()+=1 -> array.length(array.length() + 1);

Since D already obfuscates learning D with functions that look like 
properties, this would be polite to have in D.



More information about the Digitalmars-d mailing list