Boost logo

Boost :

Subject: Re: [boost] [format] Any interest in decoupling it from std::basic_string?
From: Luke Elliott (lukester_null_at_[hidden])
Date: 2012-07-04 08:31:47


On 04/07/2012 11:22, Olaf van der Spek wrote:
> On Mon, Jul 2, 2012 at 4:56 PM, news.gmane.org
> <lukester_null_at_[hidden]> wrote:
>> For me, avoiding the use of ref-counted G++ strings.
>
> Isn't G++ going to fix their strings?

One day ... no good for now ("now" for me being until RHEL5 is no longer
supported).

>
>> g++'s vstring seems to have performance almost as good as STLport's (and
>> way better than boost's) from the limited testing I've done.
>
> Does Boost have a string type?

Yes; I was referring to boost::container::string.

>
>> I should mention that the performance of boost.format is not an issue as
>> it's not used in any time critical code - just a while load of pain if
>> unable to support alternative strings, hence my hackery.
>
> If performance is not an issue, why would you use another string type?
>

Performance of boost.format is not important; of strings themselves it
very much is.

Regards

Luke.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk