MCPcopy Create free account
hub / github.com/BirolLab/abyss / operator[]

Method operator[]

Assembly/DBG.h:56–62  ·  view source on GitHub ↗

Return the data associated with the specified key. */

Source from the content-addressed store, hash-verified

54
55 /** Return the data associated with the specified key. */
56 const mapped_type operator[](const key_type& key) const
57 {
58 bool rc;
59 const_iterator it = find(key, rc);
60 assert(it != m_data.end());
61 return rc ? ~it->second : it->second;
62 }
63
64 iterator begin() { return m_data.begin(); }
65 const_iterator begin() const { return m_data.begin(); }

Callers

nothing calls this directly

Calls 2

findFunction · 0.85
endMethod · 0.45

Tested by

no test coverage detected