[vtkusers] why are destructors protected?

Roland Jesse jesse at mail.CS.Uni-Magdeburg.De
Tue Jun 5 06:50:27 EDT 2001


Matthieu Chabanas <Matthieu.Chabanas at imag.fr> writes:

> Actually, I use VTK and QT in my applications. I would like to use Qt
> template collection classes, especially QList<vktDataSet>.
> However, it is required to compile that a public destructor is defined
> for vktDataSet.

Use pointers. That even works with STL containers.

        Roland




More information about the vtkusers mailing list