The C++ std::unordered_set provides the same functionality as the python set.
std::unordered_set
It is unordered, each element is unique, and it has near constant time complexity.