Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2005-03-18 15:15:22


Felipe Magno de Almeida wrote:

>> So what's the advantage of using std::basic_string over, say,
>> std::vector ?
>
>
> reference counting optimization and maybe others, where there is.

While I agree that ref counting might be a good optimization, this
is an implementation detail and not an excuse to impose an interface
(with all the semantics that come with it) that doesn't fit.

Regards,
                Stefan


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