5 #include <unordered_set> 11 std::unordered_set<art::Ptr<int>>
s;
14 assert(s.size() == 1);
17 assert(s.size() == 1);
19 assert(s.find(def) == s.begin());
27 std::hash<art::Ptr<int>> hasher;
28 assert(hasher(def) != hasher(p1));
29 assert(hasher(p1) == hasher(p2));
32 assert(s.size() == 2);
33 assert(s.find(def) != s.end());
34 assert(s.find(p1) != s.end());
void unordered_set_test()