Count the elements with a given key.

Synopsis

Declared in <folly/AtomicHashMap.h>

size_type
count(key_type k) const;

Return Value

1 if the key is present, and 0 otherwise.

Parameters

Name

Description

k

The key to count.

Created with MrDocs