I want to create 9 sets and put them in vector.The following code error outs
class X{
vector<set<int> > rowset(9,set<int>());
};
Line 2: expected identifier before numeric constant
Following works ok. But i want to insert empty sets in vector so that i don't have to do a push_back. Please suggest why the above code is erroring out.
class X{
vector<set<int> > rowset;
};