<div class="gmail_quote">On Tue, Mar 16, 2010 at 5:44 PM, Eric Whitcombe <span dir="ltr">&lt;<a href="mailto:ericwsf@gmail.com">ericwsf@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div bgcolor="#ffffff">
<div><font size="2" face="Arial">I�haven&#39;t received any response to my 
question. If this is is not the appropriate forum I would appreciate some 
suggestions as to where to ask the question. I have gone over the mailing list 
groups page and this seems to be the place to ask it but I could be wrong. 
<div><font size="2" face="Arial"></font>�</div>
<div><font size="2" face="Arial">��� I am stepping through <font face="Courier">interprocess</font> shared memory code�and I was a little 
confused by the <font face="Courier">offset_ptr</font> code that I was hitting*. I 
cannot figure out how that is specified to the template of <font face="Courier">rbtree_best_fit</font>. I see in <font face="Courier">boost/interprocess/interprocess_fwd.hpp</font> the declaration of 
<font face="Courier">managed_shared_memory</font> by typedef&#39;ing <font face="Courier">basic_managed_shared_memory</font> with <font face="Courier">rbtree_best_fit&lt;mutex_family&gt;</font> as the 
<i>AllocationAlgorithm</i> argument but I can&#39;t figure out how <font face="Courier">offset_ptr</font> is is supplied as the <i>VoidPointer</i> 
argument to the <font face="Courier">rbtree_best_fit</font> template. That 
template has 3 arguments but the forward declaration only provides one. Are the 
other two somehow inferred? If so, how? <br>�<br></font></div>
<div><font size="2" face="Arial"></font>�</div>
<div><font size="2" face="Arial">* I have looked at the documentation for <font face="Courier">interprocess</font> - including the explanation of <font face="Courier">offset_ptr</font>. I understand the need for it. I just don&#39;t see 
how it is incorporated into the <font face="Courier">rbtree_best_fit</font> 
template. </font></div></font></div></div>
<br></blockquote></div><br>Hi Eric - I don&#39;t have the knowledge to answer your question I&#39;m afraid, but as a general comment your question<br>is too vague and general. You might get a better response by composing the shortest example bit of code that<br>
demonstrates your point, and then asking why line &#39;X&#39; doesn&#39;t work/compile or whatever. It&#39;s generally easier to<br>answer highly specific questions rather than general ones, and then you have to do the generalisation.<br>
<br>Hope that helps a little.<br><br>Regards, Rob.<br>