Извините, я новичок в шаблонах и много искал, но не могу найти решение, как объявить пересылку шаблона (класса).
Вот мой код:
#ifndef CMAP_H
#define CMAP_H
#include "qvector.h"
class CMap
{
public:
CMap(const unsigned int & width, const unsigned int & height, const unsigned int & hexagonRadius);
CMap(const unsigned int & width, const unsigned int & height, const unsigned int & hexagonRadius, const QVector<QVector<unsigned int> > & landType);
~CMap();
private:
class Pimple;
Pimple * d;
};
#endif // CMAP_H
Все, что я хочу, это сделать #include "qvector.h" устаревшим.