MCPcopy Create free account
hub / github.com/pybind/pybind11 / operator*

Method operator*

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected