From 18f1b168724987817d4445e0b9f0a581625b6e7a Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 1 Dec 2001 13:02:09 +0000 Subject: [PATCH] Typos fixed. [SVN r11845] --- mem_fn.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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));