summaryrefslogtreecommitdiff
path: root/doc/html/intrusive/function_hooks.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/intrusive/function_hooks.html')
-rw-r--r--doc/html/intrusive/function_hooks.html9
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/html/intrusive/function_hooks.html b/doc/html/intrusive/function_hooks.html
index a6646bd1dd..e5fef41e71 100644
--- a/doc/html/intrusive/function_hooks.html
+++ b/doc/html/intrusive/function_hooks.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
@@ -60,12 +61,10 @@
Converting from values to hooks is generally easy, since most hooks are in
practice members or base classes of class data members. The inverse operation
is a bit more complicated, but <span class="bold"><strong>Boost.Intrusive</strong></span>
- offers a bit of help with the function <code class="computeroutput"><a class="link" href="../boost/intrusive/get_parent_fro_idp56330832.html" title="Function template get_parent_from_member">get_parent_from_member</a></code>,
+ offers a bit of help with the function <code class="computeroutput"><a class="link" href="../boost/intrusive/get_parent_fro_idp48890800.html" title="Function template get_parent_from_member">get_parent_from_member</a></code>,
which allows easy conversions from the address of a data member to the address
of the parent holding that member. Let's see a little example of <code class="computeroutput"><a class="link" href="../boost/intrusive/function_hook.html" title="Struct template function_hook">function_hook</a></code>:
</p>
-<p>
-</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">intrusive</span><span class="special">/</span><span class="identifier">list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">intrusive</span><span class="special">/</span><span class="identifier">parent_from_member</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@@ -127,12 +126,10 @@
<span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
<span class="special">}</span>
</pre>
-<p>
- </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright &#169; 2005 Olaf Krzikalla<br>Copyright &#169; 2006-2013 Ion Gaztanaga<p>
+<td align="right"><div class="copyright-footer">Copyright &#169; 2005 Olaf Krzikalla<br>Copyright &#169; 2006-2015 Ion Gaztanaga<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>