Hallo Group Members.
in
http://www.boost.org/doc/libs/1_44_0/doc/html/string_algo/concept.html
I can read:
* Function Finder. Finder can be any function object. That is, any ordinary function with the
required signature can be used as well. However, such a function can be used only for a specific
iterator type.
boost::iterator_rangestd::string simple_finder(
std::string::const_iterator Begin,
std::string::const_iterator End )
{
return boost::make_range( Begin, End );
}
but following code does not compile:
#include <iostream>
#include <string>
#include