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

Method common_iterator

include/pybind11/numpy.h:1881–1881  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1879 using size_type = container_type::size_type;
1880
1881 common_iterator() = default;
1882
1883 common_iterator(void *ptr, const container_type &strides, const container_type &shape)
1884 : p_ptr(reinterpret_cast<char *>(ptr)), m_strides(strides.size()) {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected