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

Method KeysViewImpl

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

Source from the content-addressed store, hash-verified

666template <typename Map>
667struct KeysViewImpl : public detail::keys_view {
668 explicit KeysViewImpl(Map &map) : map(map) {}
669 size_t len() override { return map.size(); }
670 iterator iter() override { return make_key_iterator(map.begin(), map.end()); }
671 bool contains(const handle &k) override {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected