MCPcopy Create free account
hub / github.com/boostorg/histogram / generic_iterator

Method generic_iterator

src/python/axis.cpp:40–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39struct generic_iterator {
40 generic_iterator(bp::object o) : iterable(o), size(bp::len(iterable)) {}
41 bp::object next() {
42 if (idx == size) {
43 PyErr_SetString(PyExc_StopIteration, "No more items.");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected