在哈希表中查找元素与判断是是否找到

myset.find(current) == myset.end() 在哈希表hash中查找current素,没找到

myset.find(current) != myset.end() 在hash表中查找current,找到了

猜你喜欢

转载自blog.csdn.net/qq_23534759/article/details/80535839