Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ NonZeroIterator
Method
NonZeroIterator
tests/test_sequences_and_iterators.cpp:30–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
29
public:
30
explicit NonZeroIterator(const T *ptr) : ptr_(ptr) {}
31
32
// Make the iterator non-copyable and movable
33
NonZeroIterator(const NonZeroIterator &) = delete;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected