25 Jul
2006
25 Jul
'06
6:46 a.m.
Hi, Jeff Garland wrote:
Thore B.Karlsen wrote:
On Mon, 24 Jul 2006 14:32:11 -0700, Jeff Garland
wrote: [...]
alg::iter_split(result, input, alg::first_finder(predicate, alg::is_equal())); //iter_split will return entire string if no matches found iter_split() doesn't seem to be documented in the string_algo documentation. Am I just not seeing it, or is there a reason for this?
I'd guess it's a bug in the docs...
Your guess is not right. iter_split is intentionaly not documented. It is only used as an implementation helper for split. We want to encourage to use find/split_iterator. This was one of the results of the library review. The same thing is happening in regex. Regards, Pavol