<br><br><div><span class="gmail_quote">2007/11/13, Ovanes Markarian &lt;<a href="mailto:om_boost@keywallet.com">om_boost@keywallet.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span class="gmail_quote"></span><br><div><span class="q"><span><span class="gmail_quote"><br>On 11/13/07, <b class="gmail_sendername">Olivier Tournaire</b> &lt;<a href="mailto:olitour@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

olitour@gmail.com</a>&gt; wrote:</span></span></span><span class="q"><span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yep, that what I tried, but it does not work. The compiler error is described below.</blockquote><br></span></span>This is really strange. This code compiles fine:<br>&nbsp;&nbsp;&nbsp; typedef bool (Profile::*mem_fcn)(boost::shared_ptr&lt; TTImage &lt;unsigned char&gt; &gt;, eInterpolatorType);
<br><br>&nbsp;&nbsp;&nbsp; mem_fcn f = &amp;Profile::template ComputeRadiometries&lt;unsigned char&gt;;<br><br>and the doc example states for member functions:<br>boost::function&lt;int (X*, int)&gt; f;<br><br>f = &amp;X::foo;<br>&nbsp; <br>


X x;<br>f(&amp;x, 5);<br><br>But I also got errors.</div></blockquote><div><br>Yes. The first code&nbsp; I posted came from the doc. The one you just gave me compiles fine.<br>However, how can I use it to create a thread and pass parameters ?
<br><br>Regards<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Regards,<br>Ovanes<br><span style="font-family: monospace;">
</span><div>&nbsp;</div><br></div><br>
<br>_______________________________________________<br>Boost-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Boost-users@lists.boost.org">Boost-users@lists.boost.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.boost.org/mailman/listinfo.cgi/boost-users" target="_blank">
http://lists.boost.org/mailman/listinfo.cgi/boost-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Le temps des cerises reviendra. Dans l&#39;imm�diat, c&#39;est le temps des noyaux. Courage.