[vtk-developers] smart pointer & type checking

clinton at elemtech.com clinton at elemtech.com
Tue Mar 18 17:56:55 EDT 2008


So why does this even compile?  I'd prefer to get a compile error.

 vtkSmartPointer<vtkPolyData> MyPolyData =
   vtkSmartPointer<vtkMultiBlockDataSet>::New();

Clint



More information about the vtk-developers mailing list