I want to use triplets to be elements of unordered_set
. I want to check whether a combination of three values has been present or not:
unordered_set<long, long, long> myset;
myset.insert(0, 1, 0);
Obviously that's not correct. How could I do this correctly? Thank you for your help.
-------Updated-------
If I don't use unordered_set
, is there any other easier way to check whether a combination has been present or not?
Thank you for your help.