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_pare_idm45690482219360.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_pare_idm45581297832224.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>