concurrent_unordered_map::count Method

計算符合指定索引鍵的項目數目。 這個函式是並行安全的。

size_type count(
   const key_type& _Keyval
) const;

參數

  • _Keyval
    要搜尋的索引鍵。

傳回值

次數次數索引鍵出現在容器。

需求

標題: internal_concurrent_hash.h

命名空間: concurrency

請參閱

參考

concurrent_unordered_map 類別