MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / array_t

Function array_t

extern/pybind/include/pybind11/numpy.h:1363–1368  ·  view source on GitHub ↗

Delegating constructor needed when both moving and accessing in the same constructor

Source from the content-addressed store, hash-verified

1361 struct private_ctor {};
1362 // Delegating constructor needed when both moving and accessing in the same constructor
1363 array_t(private_ctor,
1364 ShapeContainer &&shape,
1365 StridesContainer &&strides,
1366 const T *ptr,
1367 handle base)
1368 : array(std::move(shape), std::move(strides), ptr, base) {}
1369
1370public:
1371 static_assert(!detail::array_info<T>::is_array, "Array types cannot be used with array_t");

Callers

nothing calls this directly

Calls 6

moveFunction · 0.85
f_stridesFunction · 0.85
itemsizeFunction · 0.85
c_stridesFunction · 0.85
ptrMethod · 0.80
handleFunction · 0.70

Tested by

no test coverage detected