Boost logo

Boost :

Subject: Re: [boost] Boost.Locale (was Re: [SQL-Connectivity] Is Boost interested in CppDB?)
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-12-15 08:23:52


On 15/12/2010 13:59, Stewart, Robert wrote:

> I disagree. vector<char> would be a suitable storage container for the raw data. basic_string<char> implies string semantics.

More or less.
It also adds some purely data structure elements that vector<char> does
not provide, such as all things related to substrings (extracting a
given substring, replacing a substring with a substring of a different
length, appending a substring etc.)

One can implement a rope data structure with the interface of
basic_string, but not really with that of vector.


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