[vtk-developers] vtkNew in examples (or auto?)
Brad King
brad.king at kitware.com
Mon Jun 26 14:07:49 EDT 2017
On 06/26/2017 01:06 PM, Marcus D. Hanwell wrote:
> If that is detracting from using vtkNew then I think we should add the
> single line to vtkNew.
>
> I will see about putting in a patch for this soon. I really would
> rather get rid of the duplication in the examples by preferring vtkNew
> or using auto. It is harder to read, and needlessly repeats the class
> name in my opinion.
FYI: https://gitlab.kitware.com/vtk/vtk/merge_requests/2961
-Brad
More information about the vtk-developers
mailing list