MCPcopy Create free account
hub / github.com/ablab/spades / insert

Method insert

ext/include/tsl/array-hash/array_set.h:165–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163
164#ifdef TSL_AH_HAS_STRING_VIEW
165 std::pair<iterator, bool> insert(const std::basic_string_view<CharT>& key) {
166 return m_ht.emplace(key.data(), key.size());
167 }
168#else
169 std::pair<iterator, bool> insert(const CharT* key) {
170 return m_ht.emplace(key, std::char_traits<CharT>::length(key));

Callers

nothing calls this directly

Calls 10

size_tFunction · 0.85
lengthClass · 0.50
distanceClass · 0.50
sizeClass · 0.50
insertClass · 0.50
emplaceMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected