MCPcopy Create free account
hub / github.com/pybind/pybind11 / len

Method len

include/pybind11/stl_bind.h:692–692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

690struct ItemsViewImpl : public detail::items_view {
691 explicit ItemsViewImpl(Map &map) : map(map) {}
692 size_t len() override { return map.size(); }
693 iterator iter() override { return make_iterator(map.begin(), map.end()); }
694 Map ↦
695};

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected