Which compiler out of curiosity? VS 7.1?<br><br><div class="gmail_quote">On Thu, Feb 10, 2011 at 3:08 PM, David Thompson <span dir="ltr"><<a href="mailto:dcthomp@sandia.gov">dcthomp@sandia.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Also, const-correctness can be difficult in situations where some tasks appear to be const but in fact are not, leading to difficulties when you need to use them inside another const function. For example, vtkPointLocator::FindClosestPoint() seems like it should be const but in fact it may need to rebuild the bucket structure used to accelerate the search.<br>


<br>
-> This is why there is the "mutable" keyword in C++.<br>
</blockquote>
<br></div>
I was under the impression that at least one compiler VTK supported didn't handle it, but that may have changed when some of the compilers were dropped a while back.<br><font color="#888888">
<br>
        David</font><div><div></div><div class="h5"><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 <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br>