This compiles, but I'm wondering if it's unsafe.
In my header I forward declare this
class QStringList;
template<> class QList<QStringList>;
class MyClass {
...
static void somethin(const QList<QStringList> &thelist);
}
then in my implementation i do this
#include <QStringList>
#include <QList>
#include "MyClass.h"
void MyClass::somethin(const QList<QStringLisT> &thelist) { ... }
Is this guaranteed to be safe no matter "what?"
Thanks