0

given a vector > SETS such that

SETS[0] = {1,2,3}
SETS[1] = {11,22,33}
SETS[2] = {111,222,333}

I want to create all the vectors

{1,11,111} ... {1,11,333}, {1,22,111} ... {1,22,333} ... {3,11,111} ... {3,33,333} 

I've looked for it in boost doc but didn't find anything. Before than writing the code on my own, is there any library containing a function solving this problem?

Bernhard Barker
  • 52,963
  • 14
  • 96
  • 130
user1403546
  • 1,488
  • 3
  • 19
  • 38

0 Answers0