Boost logo

Boost Users :

Subject: [Boost-users] How do you use the find_iterator to do in-place replacements?
From: G S (stokestack_at_[hidden])
Date: 2010-04-28 02:14:52


Hi all.

I have the split_iterator working as intended on a string, but I don't see
how to use the range it returns to change the string directly without
copying it. For example, I want to do an erase_all on a range, but that
function won't take a range.

Anybody have an example of how to do this?

Thanks!



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