From: Ramon F Herrera on

(please refer to the thread "Having trouble trying to get the address
of a member function" for details)

The following sample program comes with the C++ Regex distribution. It
compiles and runs fine. Its purpose is to count the number of classes
in the input text file.

http://patriot.net/~ramon/regex_iterator_example.cpp.txt

I am having a real hard time trying to convert the code to a class.
The problem occurs in this statement:

std::for_each(m1, m2, &regex_callback);

Thanks,

-Ramon

http://www.parashift.com/c++-faq-lite/pointers-to-members.html

 | 
Pages: 1
Prev: Java book idea.
Next: MIPS Recursion Help