Boost logo

Boost Users :

From: Daryle Walker (darylew_at_[hidden])
Date: 2005-10-13 11:52:30


On 10/12/05 5:38 AM, "John Maddock" <john_at_[hidden]> wrote:

[SNIP]
> And for those who think that in-place modification is the way to go: you do
> realise that it's often *slower* than building a new string don't you?

And what if the string uses more than half of the available space? (I'm not
advocating in-place modification, but just mentioning that "return a copy"
has its flaws too.)

-- 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT hotmail DOT com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net