Delegating constructor needed when both moving and accessing in the same constructor
| 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 | |
| 1370 | public: |
| 1371 | static_assert(!detail::array_info<T>::is_array, "Array types cannot be used with array_t"); |