<div dir="ltr"><div>Hi Dirk,<br><br></div>I was actually looking at that very page.  However, I am still not sure what I am missing here.  I am not passing any pointers to functions, just the data object.  Like I said, I feel like I must be missing something obvious but cannot figure it out.  I fail to see what is distinguishing between the pointer within the same function and being passed in to it.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 23, 2015 at 2:59 PM, Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Charles,<br>
<br>
Maybe a close look at this will help:<br>
<a href="http://gallery.rcpp.org/articles/passing-cpp-function-pointers/" rel="noreferrer" target="_blank">http://gallery.rcpp.org/articles/passing-cpp-function-pointers/</a><br>
<span class="HOEnZb"><font color="#888888"><br>
Dirk<br>
<br>
--<br>
<a href="http://dirk.eddelbuettel.com" rel="noreferrer" target="_blank">http://dirk.eddelbuettel.com</a> | @eddelbuettel | <a href="mailto:edd@debian.org">edd@debian.org</a><br>
</font></span></blockquote></div><br></div>