MCPcopy Create free account
hub / github.com/Tessil/ordered-map / insert

Method insert

include/tsl/ordered_set.h:215–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213 void clear() noexcept { m_ht.clear(); }
214
215 std::pair<iterator, bool> insert(const value_type& value) {
216 return m_ht.insert(value);
217 }
218 std::pair<iterator, bool> insert(value_type&& value) {
219 return m_ht.insert(std::move(value));
220 }

Callers 7

BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
get_filled_hash_mapMethod · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
ordered_setClass · 0.45

Calls 3

insert_hintMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by 5

BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36