📌  相关文章
📜  检查集合是否包含元素 c++ 代码示例

📅  最后修改于: 2022-03-11 14:44:52.298000             🧑  作者: Mango

代码示例1
set::iterator it = theSet.find(element);
if (it != theSet.end())
{
  // The element was found
}
else
{
  // The element was not found
}