forked from boostorg/bind
Fix some HTML errors.
[SVN r12649]
This commit is contained in:
@@ -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); // (<i>internal copy of x</i>).f(i)
|
||||
|
||||
@@ -653,6 +653,7 @@ syntax for functions and member function pointers.
|
||||
|
||||
<h3><a name="err_msvc_using">MSVC specific: using boost::bind;</a></h3>
|
||||
|
||||
<p>
|
||||
On MSVC (up to version 7.0), when <b>boost::bind</b> is brought into scope
|
||||
with an using declaration:
|
||||
</p>
|
||||
|
@@ -96,7 +96,7 @@ When documenting the feature, the library author will simply state:
|
||||
<h4 style="margin-left: 20pt;">template<class It, class R, class T> void for_each(It first, It last, R (T::*pmf) ());</h4>
|
||||
|
||||
<p style="margin-left: 20pt;">
|
||||
<b>Effects:</b> equivalent to std::for_each(first, last, boost::mem_fn(pmf));</tt>
|
||||
<b>Effects:</b> equivalent to std::for_each(first, last, boost::mem_fn(pmf));
|
||||
</p>
|
||||
|
||||
<p>
|
||||
@@ -271,7 +271,7 @@ the return type of the member function pointer passed as an argument to <b>mem_f
|
||||
<b>Throws:</b> Nothing.
|
||||
</p>
|
||||
|
||||
<a name="mem_fn"><h3>mem_fn</h3></a>
|
||||
<h3><a name="mem_fn">mem_fn</a></h3>
|
||||
|
||||
<h4><a name="mem_fn_1">template<class R, class T> <i>implementation-defined-1</i> mem_fn(R (T::*pmf) ())</a></h4>
|
||||
|
||||
|
2
ref.html
2
ref.html
@@ -63,7 +63,7 @@ where <b>X</b> is the type of <b>x</b>. Similarly, <b>boost::cref(x)</b>
|
||||
returns a <b>boost::reference_wrapper<X const>(x)</b>.
|
||||
</p>
|
||||
|
||||
<p>The expression <b>boost::is_reference_wrapper<T>::value</b> is
|
||||
<p>The expression <b>boost::is_reference_wrapper<T>::value</b> is
|
||||
<b>true</b> if <b>T</b> is a
|
||||
<b>reference_wrapper</b>, and <b>false</b> otherwise.
|
||||
|
||||
|
Reference in New Issue
Block a user