Boost logo

Boost Users :

From: gast128 (gast128_at_[hidden])
Date: 2007-10-01 04:59:31


Pavol Droba <droba <at> topmail.sk> writes:

>
> Hi,
>
> I think that your arguments are reasonable. Even if I don't like to
> extend the number of find/erase/replace functions very much.
>
> I'll put it on my todo list, but I cannot promise when it actually be
> implemented.
>
> Reagards,
> Pavol.

ok that would be nice. One character replacement could also be achieved by
using std::replace_if:

std::replace_if(str4.begin(), str4.end(), boost::is_any_of("ab"), _T('c'));

But then again putting this in string_algo (with its extra power) would be
better.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net