insert overloads

Synopses

Declared in <folly/AtomicHashArray.h>

Insert an element into the map.

std::pair<iterator, bool>
insert(value_type const& r);

Insert an element into the map by moving it.

std::pair<iterator, bool>
insert(value_type&& r);

Return Value

A pair with an iterator to the element and a bool success flag.

Parameters

Name

Description

r

The key/value pair to insert.

Created with MrDocs