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

Method len

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

Source from the content-addressed store, hash-verified

682struct ValuesViewImpl : public detail::values_view {
683 explicit ValuesViewImpl(Map &map) : map(map) {}
684 size_t len() override { return map.size(); }
685 iterator iter() override { return make_value_iterator(map.begin(), map.end()); }
686 Map ↦
687};

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected