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

Method clear

include/tsl/ordered_hash.h:187–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 bool empty() const noexcept { return m_index == EMPTY_MARKER_INDEX; }
186
187 void clear() noexcept { m_index = EMPTY_MARKER_INDEX; }
188
189 index_type index() const noexcept {
190 tsl_oh_assert(!empty());

Callers 7

ordered_hashMethod · 0.45
ordered_hashClass · 0.45
clearMethod · 0.45
eraseMethod · 0.45
releaseMethod · 0.45
erase_ifMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected