As the title mentioned, I have some problems in C++.
If I have a std::vector<std::vector<int> >tmpvec
vector < vector <int> > tmpvec = {
{1,2,3},
{4,5},
{6,7,8,9},
{10,11}
};
how can I generate all possible combination of a vector of vector
1,4,6,10
1,4,6,11
1,4,7,10
1,4,7,11
......
There are at most 48 different combination.