from libcpp.memory cimport shared_ptr cdef extern from "ranges/ranges.h" namespace "CNORXZ": cdef cppclass cpp_RangeBase "CNORXZ::RangeBase": size_t size() except + size_t dim() except +