$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Jeff Garland (jeff_at_[hidden])
Date: 2005-10-13 20:19:09
On Thu, 13 Oct 2005 12:52:30 -0400, Daryle Walker wrote
> 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.)
That's why the library supports both interfaces -- essentially letting the
user decide.
Jeff