xxxInPlace or xxxCopy?
Justin Johansson
jj at nospam.com
Thu Jan 20 06:15:14 PST 2011
On 20/01/11 10:33, Andrei Alexandrescu wrote:
> I'm consolidating some routines from std.string into std.array. They are
> specialized for operating on arrays, and include the likes of insert,
> remove, replace.
>
> One question is whether operations should be performed in place or on a
> copy. For example:
Though your question has already prompted a number of answers, are you
sure that your question *saliently* poses the problem to be answered?
In short, work on stating the problem as succinctly as you can, rather
than asking for answers that shoot from the hip.
Cheers,
Justin Johansson
More information about the Digitalmars-d
mailing list