Return the exact number of elements in the map.

Synopsis

Declared in <folly/AtomicHashArray.h>

size_t
size() const;

Description

Note that readFull() acquires a mutex; see folly/ThreadCachedInt.h for more details.

Return Value

The number of elements currently stored.

Created with MrDocs