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

Method insert_or_assign

include/tsl/ordered_map.h:273–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271
272 template <class M>
273 std::pair<iterator, bool> insert_or_assign(const key_type& k, M&& obj) {
274 return m_ht.insert_or_assign(k, std::forward<M>(obj));
275 }
276
277 template <class M>
278 std::pair<iterator, bool> insert_or_assign(key_type&& k, M&& obj) {

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.45

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.36