Boost logo

Boost :

Subject: Re: [boost] [string] Yet another Unicode string class
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2011-02-14 14:08:12


On Mon, Feb 14, 2011 at 01:53, Mathias Gaunard
<mathias.gaunard_at_[hidden]> wrote:
>
> SBO makes moving a string costly.
>

How bug a buffer does SBO usually use?

For UTF-8, I figured it'd be maybe 4 or 8 bytes, to usually avoid the
heap when putting individual "characters" in strings, as is needed to
avoid problems like the current toupper('ß').


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