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

Method end

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

.end() only required for py::make_iterator(self) overload

Source from the content-addressed store, hash-verified

379 const std::pair<int, int> *begin() const { return data_.data(); }
380 // .end() only required for py::make_iterator(self) overload
381 const std::pair<int, int> *end() const { return data_.data() + data_.size(); }
382
383 private:
384 std::vector<std::pair<int, int>> data_;

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected