MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / erase

Method erase

src/ifcparse/map_variant.h:142–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 }
141
142 size_t erase(const key_type& key) {
143 return std::visit([&key](auto m) -> size_t {
144 if constexpr (std::is_same_v<std::decay_t<decltype(m)>, std::monostate>) {
145 return size_t(0);
146 } else {
147 return m->erase(key);
148 }
149 }, map_);
150 }
151
152 size_t erase(const iterator& it) {
153 return std::visit([&it](auto m) -> size_t {

Callers 15

writeMethod · 0.45
write_non_streaming_Method · 0.45
finalizeFunction · 0.45
filter_in_placeFunction · 0.45
find_boundary_loopsFunction · 0.45
convertMethod · 0.45
process_extrusionMethod · 0.45
operator()Method · 0.45

Calls 1

visitFunction · 0.50

Tested by

no test coverage detected