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

Method insert

src/ifcparse/map_transformer.h:113–116  ·  view source on GitHub ↗

@todo still not sure if this is a good idea, do we want to insert into the transformed map?

Source from the content-addressed store, hash-verified

111
112 // @todo still not sure if this is a good idea, do we want to insert into the transformed map?
113 std::pair<iterator, bool> insert(const value_type& val) {
114 auto p = base_map_->insert({ val.first, transform_back_(val.second) });
115 return { iterator(p.first, &transform_), p.second };
116 }
117
118 size_t erase(const key_type& key) {
119 return base_map_->erase(key);

Callers

nothing calls this directly

Calls 1

iteratorClass · 0.70

Tested by

no test coverage detected