operator==(std::extents)
From cppreference.com
C++
Containers library
(C++17) | ||||
| Sequence | ||||
(C++11) | ||||
(C++26) | ||||
(C++26) | ||||
(C++11) | ||||
| Associative | ||||
| Unordered associative | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
| Adaptors | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
| Views | ||||
(C++20) | ||||
(C++23) | ||||
| Tables | ||||
| Iterator invalidation | ||||
| Member function table | ||||
| Non-member function table |
std::mdspan
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::extents
| Member functions | ||||
| Observers | ||||
| Helpers | ||||
| Non-member functions | ||||
extents::operator== | ||||
| Deduction guides |
| template< class OtherIndexType, std::size_t... OtherExtents > friend constexpr bool operator==( |
(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.
[edit] Parameters
| lhs, rhs | - | extents whose values to compare |
[edit] Return value
true if the extents represented by lhs and rhs are equal, false otherwise
[edit] Example
| This section is incomplete Reason: no example |