xxxInPlace or xxxCopy?

bearophile bearophileHUGS at lycos.com
Wed Jan 19 17:42:10 PST 2011


Andrei:

> Problem is, even though the example uses strings, the functions apply to 
> all arrays.

Important general rule: if converting string functions into generic functions makes them worse string functions, then don't move them to the algorithm module, or create special string functions for the string module.

Bye,
bearophile


More information about the Digitalmars-d mailing list