Boost logo

Boost :

From: Rogier van Dalen (rogiervd_at_[hidden])
Date: 2005-04-04 08:10:01

On Apr 4, 2005 10:34 AM, Stefan Seefeld <seefeld_at_[hidden]> wrote:
> Rogier van Dalen wrote:
> > basic_string has convenient and fast find* and replace methods though.
> What is it that you want to find and replace ? Bytes ?

I suppose the Unicode string will contain find*() and replace()
methods that will often forward to the underlying container's
If two strings are normalised and in the same encoding, you can find
one in the other by comparing bytes, yes. If you want to replace a
codepoint, or a grapheme cluster, by one with a different encoded
length, replace() will be your friend (the Unicode string's friend,

Anyway, I shouldn't have sent my previous message: let's quickly get
out of this bike shed!


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