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

Method end

src/ifcparse/map_variant.h:122–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 iterator end() const {
123 return std::visit([](auto m) -> iterator {
124 if constexpr (std::is_same_v<std::decay_t<decltype(m)>, std::monostate>) {
125 return iterator{};
126 } else {
127 return iterator(m->end());
128 }
129 }, map_);
130 }
131
132 iterator find(const key_type& key) const {
133 return std::visit([&key](auto m) -> iterator {

Callers

nothing calls this directly

Calls 2

iteratorClass · 0.70
visitFunction · 0.50

Tested by

no test coverage detected