[vtk-developers] vtkNew compile error

David Doria daviddoria+vtk at gmail.com
Mon Mar 22 10:37:52 EDT 2010


On Mon, Mar 22, 2010 at 9:19 AM, Brad King <brad.king at kitware.com> wrote:

> Marcus D. Hanwell wrote:
> > That sounds good, it seems to me that we should ensure that this is
> > added to VTK before we branch. Brad, do you want to do the honors? I
> > would love to be able to use this freely in tests and classes.
>
> I committed the changes with one fix Bill L. needed when he first
> started using it.  The only change to an existing header was to
> forward-declare the vtkNew<> template and add some method overloads
> that use it in vtkSmartPointer<>.  Therefore code that does not
> write "#include <vtkNew.h>" should not be affected.
>
> -Brad
>
>
Brad,

Thanks for doing this. Would you mind adding a short explanation of what the
final outcome was here:
http://www.vtk.org/Wiki/VTK/Tutorials/SmartPointers

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100322/c396e1d6/attachment.html>


More information about the vtk-developers mailing list