On this page
operator==(std::extents)
|
(since C++23) |
Compares two extents
. Returns true if lhs.rank()
equals rhs.rank()
and lhs.extent(r)
equals rhs.extent(r)
for every rank index r
of rhs
; otherwise returns false.
Parameters
lhs, rhs | - | extents whose values to compare |
Return value
true if the extents represented by lhs
and rhs
are equal, false otherwise
Example
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/container/mdspan/extents/operator%3D%3D