From 9ca2e6f064ebf819bebcbedc868d1c8969f5023a Mon Sep 17 00:00:00 2001 From: Darin Adler Date: Sat, 2 Feb 2002 19:02:53 +0000 Subject: [PATCH] Fix some HTML errors. [SVN r12649] --- bind.html | 3 ++- mem_fn.html | 4 ++-- ref.html | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) 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.

MSVC specific: using boost::bind;

+

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:

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)); +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.

-

mem_fn

+

mem_fn

template<class R, class T> implementation-defined-1 mem_fn(R (T::*pmf) ())

diff --git a/ref.html b/ref.html index c2c2d15..d30d206 100644 --- a/ref.html +++ b/ref.html @@ -63,7 +63,7 @@ where X is the type of x. Similarly, boost::cref(x) returns a boost::reference_wrapper<X const>(x).

-

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.