diff --git a/bind.html b/bind.html index 074e89c..7532956 100644 --- a/bind.html +++ b/bind.html @@ -268,7 +268,7 @@ int i = 5; bind(&X::f, ref(x), _1)(i); // x.f(i) -bind(&X::f, &x, _1)(i); // (&x)->f(i) +bind(&X::f, &x, _1)(i); // (&x)->f(i) bind(&X::f, x, _1)(i); // (internal copy of x).f(i) @@ -653,6 +653,7 @@ syntax for functions and member function pointers.
On MSVC (up to version 7.0), when boost::bind is brought into scope with an using declaration:
diff --git a/mem_fn.html b/mem_fn.html index 896c93c..7887298 100644 --- a/mem_fn.html +++ b/mem_fn.html @@ -96,7 +96,7 @@ When documenting the feature, the library author will simply state:-Effects: equivalent to std::for_each(first, last, boost::mem_fn(pmf)); +Effects: equivalent to std::for_each(first, last, boost::mem_fn(pmf));
@@ -271,7 +271,7 @@ the return type of the member function pointer passed as an argument to mem_f Throws: Nothing.
-The expression boost::is_reference_wrapper<T>::value is +
The expression boost::is_reference_wrapper<T>::value is true if T is a reference_wrapper, and false otherwise.