
Hi, there: regex_grep_example_3.cpp is the example source file in the boost/regex library. I find a bug at line 92 : boost::regex_grep(std::bind1st(std::mem_fun (&class_index::grep_callback), this), start, end, expression); where "mem_fun" should be "mem_fun1". ps:I use MSVC6.0 on Micro$oft win2k. Roger

Hi, there:
regex_grep_example_3.cpp is the example source file in the boost/regex library. I find a bug at line 92 :
boost::regex_grep(std::bind1st(std::mem_fun (&class_index::grep_callback), this), start, end, expression);
where "mem_fun" should be "mem_fun1".
ps:I use MSVC6.0 on Micro$oft win2k.
That's a bug in your standard lib, not the example, sorry. John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm
participants (2)
-
John Maddock
-
rogerleee