<div class="gmail_quote">On Tue, Feb 24, 2009 at 8:15 AM, Julien Michel <span dir="ltr">&lt;<a href="mailto:julien.michel@c-s.fr">julien.michel@c-s.fr</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;">
Dear ITK users and developpers,<br>
<br>
Is there any reason why none of the operator() defined in ITK Functors (such as the itk::Functor::ACos Functor for instance) are declared as const ? </blockquote><div><br>You are right. Must have been an oversight.. feel free to submit a patch against ITK CVS.<br>
<br>Thanks<br>--<br>karthik<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It prevents me from reusing them inside some const methods, and it looks like they could have been declared const without any problem. Mutable does the trick, but I would rather avoid it if possible.<br>

<br>
Thanks a lot for your reply,<br>
<br>
Best regads,<br>
<br>
Julien<br>
-- <br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
<br>
Julien MICHEL - Ingénieur d&#39;études - Traitement d&#39;images<br>
CS Systèmes d&#39;Information - Division ESPACE<br>
Département Information Géographique &amp; Image<br>
Téléphone : +33 561 17 64 27<br>
Email : <a href="mailto:julien.michel@c-s.fr" target="_blank">julien.michel@c-s.fr</a><br>
<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Karthik Krishnan<br>R&amp;D Engineer,<br>Kitware Inc.<br>Ph: 518 371 3971 x119<br>Fax: 518 371 3971<br>