-
lists
If I had 2 vars of STL list that both have ~50,000 records a piece. What would be the best way to find records that were in one list but not in the other. I dont see where it has a built in search function. I dont have to loop through each list do it? Is there a better way to do this?
-
i'm not really sure if this does what you need, since I've never used it yet.. but there's a function called set_difference in the STL (it requires that you include <algorithm>).
You might want to try that.
also unique is said to eleminate duplicate copies from a range, so that might be of use too?
Good luck, and someone else prolly has a better view on this point.