
Hi, I'm having a hard time trying to use the find_format() function provided in the Algorithm/String library. In the examples provided in the Concepts page, 2 examples of finder and formatter are provided: simple_finder and simple_formatter. The first problem is a typing error in simple_finder that prevents it form compiling, I've opened a ticket to fix this (#1761). The second problem is that simple_finder uses a function called make_range that I can't find anywhere in the Boost headers. What is this function? Am I supposed to write it myself? The third problem is that I can't find any example of actual use of those classes. I thought that this: find_format(string("foobar"), simple_finder(), simple_formatter()); would compile and run (basically replacing the whole string by the same string), but after having tried to get rid of the second problem by de-templatizing the simple_finder to adapt it to string, it doesn't compile. But maybe I'm wrong in the way I did that: struct simple_finder { template<typename ForwardIteratorT> boost::iterator_range<ForwardIteratorT> operator()( ForwardIteratorT Begin, ForwardIteratorT End ) { return string( Begin, End ); } }; Can anyone help me? Bruno