<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jan 17, 2017 at 1:58 PM, Marcus D. Hanwell <span dir="ltr"><<a href="mailto:marcus.hanwell@kitware.com" target="_blank">marcus.hanwell@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
</span>That is already the case, and I have modernized some classes. You can<br>
use vtkNew and vtkSmartPointer in class declarations, and we went to<br>
some effort to ensure they could be forward declared. <br></blockquote><div><br></div><div>Well, then, there's a whole lot of egg on my face. I guess that since</div><div>most of the classes that I maintain predated this, I never noticed that</div><div>the newer classes were using smart pointers like this, hence I assumed</div><div>that it wasn't possible. Because in my mind, I just couldn't image that</div><div>such an important bit of code hygiene would be possible and at the</div><div>same time not be used throughout VTK.</div><div><br></div><div> - David</div></div><br></div></div>