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

Method insert

include/tsl/ordered_map.h:236–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234 void clear() noexcept { m_ht.clear(); }
235
236 std::pair<iterator, bool> insert(const value_type& value) {
237 return m_ht.insert(value);
238 }
239
240 template <class P, typename std::enable_if<std::is_constructible<
241 value_type, P&&>::value>::type* = nullptr>

Callers 1

ordered_mapClass · 0.45

Calls 5

insert_hintMethod · 0.80
emplaceMethod · 0.45
emplace_hintMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected