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

Method size

include/pybind11/detail/argument_vector.h:406–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404 void reserve(std::size_t sz) { m_ptrs.reserve(sz); }
405
406 std::size_t size() const { return m_ptrs.size(); }
407
408 PyObject *operator[](std::size_t idx) const { return m_ptrs[idx]; }
409

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected