From Jason Turner

[mdspan.extents.cmp]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpjhok_bg4/{from.md → to.md} +12 -0
tmp/tmpjhok_bg4/{from.md → to.md} RENAMED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ##### Comparison operators <a id="mdspan.extents.cmp">[[mdspan.extents.cmp]]</a>
2
+
3
+ ``` cpp
4
+ template<class OtherIndexType, size_t... OtherExtents>
5
+ friend constexpr bool operator==(const extents& lhs,
6
+ const extents<OtherIndexType, OtherExtents...>& rhs) noexcept;
7
+ ```
8
+
9
+ *Returns:* `true` if `lhs.rank()` equals `rhs.rank()` and if
10
+ `lhs.extent(r)` equals `rhs.extent(r)` for every rank index `r` of
11
+ `rhs`, otherwise `false`.
12
+