operator==(std::layout_right::mapping)
From cppreference.com
< cpp | container | mdspan | layout right | mapping
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Containers library
(C++17)
(C++11)
(C++26)
(C++26)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++23)
(C++23)
(C++23)
(C++23)
(C++20)
(C++23)
Tables
std::mdspan
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
std::layout_right::mapping
operator==
template< class OtherExtents >
(since C++23)
friend constexpr bool operator==( const mapping& lhs,
Compares two layout mappings of the same layout type based on their underlying extents.
Layout mappings lhs and rhs compare equal if both lhs.extents() and rhs.extents() are equal.
This overload participates in overload resolution only if extents_type::rank() == OtherExtents::rank() is true.
Contents
[edit] Parameters
lhs, rhs
-
layout mappings whose extents to compare
[edit] Return value
true if lhs.extents() == rhs.extents() is true, false otherwise
[edit] Example
This section is incomplete
Reason: no example
Reason: no example