qbunia 0 Newbie Poster

I`m having serious problem.

class Set
{
Point_<int> point;
int val;
double *module;
};

Mat m;
Set s;
m.push_back(s);

It says
see reference to function template instantiation 'void cv::Mat::push_back<Set>(const _Tp &)' being compiled
When i add <Set> after push_back it brings me:
see reference to class template instantiation 'cv::Mat_<_Tp>' being compiled