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

Method begin

include/pybind11/pytypes.h:2216–2216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2214 size_t size() const { return static_cast<size_t>(PyDict_Size(m_ptr)); }
2215 bool empty() const { return size() == 0; }
2216 detail::dict_iterator begin() const { return {*this, 0}; }
2217 detail::dict_iterator end() const { return {}; }
2218 void clear() /* py-non-const */ { PyDict_Clear(ptr()); }
2219 template <typename T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected