implement hash_set/unordered_set wrapper