Init
This commit is contained in:
26
cppdraft/mdspan/extents/cmp.md
Normal file
26
cppdraft/mdspan/extents/cmp.md
Normal 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)
|
||||
Reference in New Issue
Block a user