This commit is contained in:
2025-10-25 03:02:53 +03:00
commit 043225d523
3416 changed files with 681196 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
[mdspan.extents.cmp]
# 23 Containers library [[containers]](./#containers)
## 23.7 Views [[views]](views#mdspan.extents.cmp)
### 23.7.3 Multidimensional access [[views.multidim]](views.multidim#mdspan.extents.cmp)
#### 23.7.3.3 Class template extents [[mdspan.extents]](mdspan.extents#cmp)
#### 23.7.3.3.5 Comparison operators [mdspan.extents.cmp]
[🔗](#lib:operator==,extents)
`template<class OtherIndexType, size_t... OtherExtents>
friend constexpr bool operator==(const extents& lhs,
const extents<OtherIndexType, OtherExtents...>& rhs) noexcept;
`
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L21478)
*Returns*: true if lhs.rank() equals rhs.rank() and
if lhs.extent(r) equals rhs.extent(r) for every rank index r of rhs,
otherwise false[.](#1.sentence-1)