string is rarely useful as a function argument

bearophile bearophileHUGS at lycos.com
Sat Dec 31 04:04:23 PST 2011


Andrei Alexandrescu:

> We need .raw and we must abolish .length and [] for narrow strings.

I don't know if we need, but I agree those things are an improvement over the current state.
To replace the disabled slicing I think something Python islice() will be useful.

Bye,bear
bearophile 


More information about the Digitalmars-d mailing list