
13 Jun
2011
13 Jun
'11
11:37 a.m.
So that the wheel doesn't have to be reinvented if it's already out there, is there something in boost that will take a bunch of sequences (lists, say) and return a sequence containing the cartesian product all of them, either as a tuple or after applying a function to them? For example, is there something in boost that will, given a bunch of lists of integers, return a list of integers formed by multiplying together one member from each list?