檢查許多STL容器中是否存在的典型方法,例如 std::map , std::set ,...是: const bool is_in = container.find(element) != container.end();.
確定! 回上一頁