We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这里为什么用了equal_range_multi函数,这个函数是用来查键值出来出现的迭代器区间,但hashtable本身并没有实现==,是否应该使用迭代器去逐元素比较 friend bool operator==(const unordered_multiset &lhs, const unordered_multiset &rhs) { return lhs.ht_.equal_range_multi(rhs.ht_); }
friend bool operator==(const unordered_multiset &lhs, const unordered_multiset &rhs) { return lhs.ht_.equal_range_multi(rhs.ht_); }
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
同问,不知这是为何
No branches or pull requests
这里为什么用了equal_range_multi函数,这个函数是用来查键值出来出现的迭代器区间,但hashtable本身并没有实现==,是否应该使用迭代器去逐元素比较
friend bool operator==(const unordered_multiset &lhs, const unordered_multiset &rhs) { return lhs.ht_.equal_range_multi(rhs.ht_); }
The text was updated successfully, but these errors were encountered: