Lines Matching full:rank
33 #include <__type_traits/rank.h>
91 _LIBCPP_HIDE_FROM_ABI static constexpr rank_type rank() noexcept { return extents_type::rank(); }
114 ((sizeof...(_OtherIndexTypes) == rank()) || (sizeof...(_OtherIndexTypes) == rank_dynamic())) &&
122 ((_Size == rank()) || (_Size == rank_dynamic())) && is_constructible_v<mapping_type, extents_type> &&
131 ((_Size == rank()) || (_Size == rank_dynamic())) && is_constructible_v<mapping_type, extents_type> &&
166 if constexpr (rank() > 0) {
167 for (size_t __r = 0; __r < rank(); __r++) {
188 (sizeof...(_OtherIndexTypes) == rank()))
200 _LIBCPP_HIDE_FROM_ABI constexpr reference operator[](const array< _OtherIndexType, rank()>& __indices) const {
203 }(make_index_sequence<rank()>()));
209 _LIBCPP_HIDE_FROM_ABI constexpr reference operator[](span<_OtherIndexType, rank()> __indices) const {
212 }(make_index_sequence<rank()>()));
222 }(make_index_sequence<rank()>())),
226 }(make_index_sequence<rank()>());
231 return (rank() > 0) && ((__map_.extents().extent(_Idxs) == index_type(0)) || ... || false);
232 }(make_index_sequence<rank()>());