Boost logo

Boost :

Subject: Re: [boost] [string] Yet another Unicode string class
From: Scott McMurray ([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, gregod at, cpdaniel at, john at