MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / erase_out

Method erase_out

include/geode/basic/mapping.hpp:166–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164 }
165
166 void erase_out( const T2& out )
167 {
168 auto out_itr = this->out2in_mapping().find( out );
169 if( out_itr == this->out2in_mapping().end() )
170 {
171 return;
172 }
173 this->in2out_mapping().erase( out_itr->second );
174 this->out2in_mapping().erase( out_itr );
175 }
176
177 [[nodiscard]] index_t size() const
178 {

Callers

nothing calls this directly

Calls 3

findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected