xxxInPlace or xxxCopy?

bearophile bearophileHUGS at lycos.com
Thu Jan 20 04:35:28 PST 2011


Andrej Mitrovic:

> If the replace function is marked with some kind of @nodiscard
> annotation, then his would be a compile error since it doesn't make
> sense to construct a new string, return it, and discard it.

http://d.puremagic.com/issues/show_bug.cgi?id=5464

Bye,
bearophile


More information about the Digitalmars-d mailing list