I have a QVector
QVector
QVector<const ClassA*> list;
and I want to know how it is what the best way to clean an QVector in this case.
ClassA is not a QObject.
ClassA
QObject
Here it is in two lines of code:
while (list.count()) delete list.takeLast();