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

Method size

tests/test_sequences_and_iterators.cpp:340–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338 void set(const std::string &key, std::string val) { map[key] = std::move(val); }
339 std::string get(const std::string &key) const { return map.at(key); }
340 size_t size() const { return map.size(); }
341
342 private:
343 std::unordered_map<std::string, std::string> map;

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected