diff --git a/mem_fn.html b/mem_fn.html index 5d0f58a..896c93c 100644 --- a/mem_fn.html +++ b/mem_fn.html @@ -75,7 +75,7 @@ define an enhanced for_each algorithm with an overload of the form:

-template<class It, class R> void for_each(It first, It last, R (*pmf) ())
+template<class It, class R, class T> void for_each(It first, It last, R (T::*pmf) ())
 {
     std::for_each(first, last, boost::mem_fn(pmf));
 }
@@ -93,7 +93,7 @@ that will allow the convenient syntax:
 When documenting the feature, the library author will simply state:
 

-

template<class It, class R> void for_each(It first, It last, R (*pmf) ());

+

template<class It, class R, class T> void for_each(It first, It last, R (T::*pmf) ());

Effects: equivalent to std::for_each(first, last, boost::mem_fn(pmf));