Boost logo

Boost :

Subject: Re: [boost] [string] Yet another Unicode string class
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2011-02-15 14:38:31

On 14.02.2011, at 20:15, Stephan T. Lavavej wrote:

> [Scott McMurray]
>> How bug a buffer does SBO usually use?
> VC's std::string uses 16 bytes, enough to store 15 chars or 7 wchar_ts plus a null terminator.

I believe STLPort uses twice that for char, and grows with the character type (i.e. twice that again for 16-bit code units).

Whereas libc++, which was developed with move semantics in mind, has a very small buffer.


Boost list run by bdawes at, gregod at, cpdaniel at, john at