mirror of
https://github.com/boostorg/bind.git
synced 2025-08-09 09:44:34 +02:00
Fix broken link in purpose.qbk
This commit is contained in:
@@ -178,7 +178,7 @@ Example:
|
|||||||
The last two examples are interesting in that they produce "self-contained"
|
The last two examples are interesting in that they produce "self-contained"
|
||||||
function objects. `bind(&X::f, x, _1)` stores a copy of `x`.
|
function objects. `bind(&X::f, x, _1)` stores a copy of `x`.
|
||||||
`bind(&X::f, p, _1)` stores a copy of `p`, and since `p` is a
|
`bind(&X::f, p, _1)` stores a copy of `p`, and since `p` is a
|
||||||
[@boost:/libs/smart_ptr/shared_ptr.htm `boost::shared_ptr`], the function
|
[@boost:/libs/smart_ptr/doc/html/smart_ptr.html#shared_ptr `boost::shared_ptr`], the function
|
||||||
object retains a reference to its instance of `X` and will remain valid even
|
object retains a reference to its instance of `X` and will remain valid even
|
||||||
when `p` goes out of scope or is `reset()`.
|
when `p` goes out of scope or is `reset()`.
|
||||||
|
|
||||||
|
@@ -338,7 +338,7 @@
|
|||||||
stores a copy of <code class="computeroutput"><span class="identifier">x</span></code>. <code class="computeroutput"><span class="identifier">bind</span><span class="special">(&</span><span class="identifier">X</span><span class="special">::</span><span class="identifier">f</span><span class="special">,</span> <span class="identifier">p</span><span class="special">,</span>
|
stores a copy of <code class="computeroutput"><span class="identifier">x</span></code>. <code class="computeroutput"><span class="identifier">bind</span><span class="special">(&</span><span class="identifier">X</span><span class="special">::</span><span class="identifier">f</span><span class="special">,</span> <span class="identifier">p</span><span class="special">,</span>
|
||||||
<span class="identifier">_1</span><span class="special">)</span></code>
|
<span class="identifier">_1</span><span class="special">)</span></code>
|
||||||
stores a copy of <code class="computeroutput"><span class="identifier">p</span></code>, and since
|
stores a copy of <code class="computeroutput"><span class="identifier">p</span></code>, and since
|
||||||
<code class="computeroutput"><span class="identifier">p</span></code> is a <a href="../../../../libs/smart_ptr/shared_ptr.htm" target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></code></a>, the function object
|
<code class="computeroutput"><span class="identifier">p</span></code> is a <a href="../../../../libs/smart_ptr/doc/html/smart_ptr.html#shared_ptr" target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></code></a>, the function object
|
||||||
retains a reference to its instance of <code class="computeroutput"><span class="identifier">X</span></code>
|
retains a reference to its instance of <code class="computeroutput"><span class="identifier">X</span></code>
|
||||||
and will remain valid even when <code class="computeroutput"><span class="identifier">p</span></code>
|
and will remain valid even when <code class="computeroutput"><span class="identifier">p</span></code>
|
||||||
goes out of scope or is <code class="computeroutput"><span class="identifier">reset</span><span class="special">()</span></code>.
|
goes out of scope or is <code class="computeroutput"><span class="identifier">reset</span><span class="special">()</span></code>.
|
||||||
@@ -1543,7 +1543,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||||
<td align="left"><p><small>Last revised: June 06, 2015 at 16:07:44 GMT</small></p></td>
|
<td align="left"><p><small>Last revised: July 07, 2017 at 11:19:28 GMT</small></p></td>
|
||||||
<td align="right"><div class="copyright-footer"></div></td>
|
<td align="right"><div class="copyright-footer"></div></td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
|
@@ -543,7 +543,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||||
<td align="left"><p><small>Last revised: June 06, 2015 at 16:07:47 GMT</small></p></td>
|
<td align="left"><p><small>Last revised: July 07, 2017 at 11:19:31 GMT</small></p></td>
|
||||||
<td align="right"><div class="copyright-footer"></div></td>
|
<td align="right"><div class="copyright-footer"></div></td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
|
Reference in New Issue
Block a user