D
Daniel Fortin
I was wondering if anyone had any suggestions for this problem:
I would like to use a map to store separate lists. Each list can have
a variable number of elements. The problem is that I would like to be
able to to check the map for permutations of currently stored items.
So in other words, if the list (3,2,5,12,4,6) is in the map, then I
would like to know when I try to insert a sequence (3,2,5,12,6,4) that
it is already in the map. Is there an easy way to do this with STL?
I would like to use a map to store separate lists. Each list can have
a variable number of elements. The problem is that I would like to be
able to to check the map for permutations of currently stored items.
So in other words, if the list (3,2,5,12,4,6) is in the map, then I
would like to know when I try to insert a sequence (3,2,5,12,6,4) that
it is already in the map. Is there an easy way to do this with STL?