Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-09-29 02:33:23

"Pavol Droba" <droba_at_[hidden]> wrote in message

| If I remember correctly your last complain was, that dereferencing the
| does not yield a string, so you cannot manipulate it easily.
| find_iterator will dereference to an iterator_range. There is plenty of
| in the Boost.Range library that help you to live with it. For instance,
| are comparison operators between arbitrary range types, and if you need
| more, you can always convert the range to something else using the
| copy_iterator_range function (maybe something shorter and easier to use can
| be provided as well).

copy_range<string>( *it ) should do the work.

| Please consider these options. Some of them are not currently available
| the StringAlgo lib has not been merged yet with the Range lib (I was afraid
| to do it before release).

this is a bit unfortunate since we now have two iterator_range classes hanging
around. Is yours in namespace
boost::algorithm::string ? If so, a small note about how to avoid clashes
would be good in the string algo docs.



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