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

Method NonRefIterator

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

Source from the content-addressed store, hash-verified

56
57public:
58 explicit NonRefIterator(const T *ptr) : ptr_(ptr) {}
59 T operator*() const { return T(*ptr_); }
60 NonRefIterator &operator++() {
61 ++ptr_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected