- mdspan[meta header]
- function template[meta id-type]
- std[meta namespace]
- layout_right_padded::mapping[meta class]
- cpp26[meta cpp]
template<class LayoutRightPaddedMapping>
friend constexpr bool operator==(
const mapping& x, const LayoutRightPaddedMapping& y) noexcept;
//operator==により、以下のオーバーロードが使用可能になる
template<class LayoutRightPaddedMapping>
friend constexpr bool operator!=(
const mapping& x, const LayoutRightPaddedMapping& y) noexcept;mappingの等値比較を行う。
is-layout-right-padded-mapping-of<LayoutRightPaddedMapping>LayoutRightPaddedMapping::extents_type::rank()== rank_
x.extents() == y.extents()かつrank_ < 2 || x.stride(rank_ - 2) == y.stride(rank_ - 1)のとき、trueを返す。- そうでなければ、
falseを返す。
投げない
- C++26
- Clang: ??
- GCC: ??
- ICC: ??
- Visual C++: ??