I hope this is not a duplicate question, but if it is, feel free to point me in the right direction.
I have a vector<vector<int> >
.
Is it possible to use unique()
on this? Something like:
vector<vector<int> > myvec;
//blah blah do something to myvec
vector<vector<int> >::interator it = unique(myvec.begin(), myvec.end());
Would the range myvec.begin()
to it
be unique?