Using a QScopedArrayPointer of an abstract class?

212 Views Asked by At

Recently Qt had made some changes and we can't semantically move QScopedPointer so we can't have a QList< QScopedPointer< SomeClass> > , based on my other question.

My second solution was using QScopedArrayPointer. But we cannot use these containers for abstract classes, which was my original problem. Is there any other way to use some list of QScopedPointer for abstract classes?

0

There are 0 best solutions below