operator== (std::extents)
|
template
<
class
OtherIndexType,
std::
size_t
...
OtherExtents
>
friend
constexpr
bool
operator
==
(
|
(C++23以降) | |
2つの
extents
を比較します。
lhs.
rank
(
)
が
rhs.
rank
(
)
と等しく、かつ
rhs
のすべてのランクインデックス
r
について
lhs.
extent
(
r
)
が
rhs.
extent
(
r
)
と等しい場合、
true
を返します。それ以外の場合は
false
を返します。
パラメータ
| lhs, rhs | - | 比較する値を持つエクステント |
戻り値
true が返されるのは、 lhs と rhs が表す範囲が等しい場合であり、それ以外の場合は false が返されます
例
|
このセクションは不完全です
理由: 例がありません |