名前空間
変種
操作

operator==(std::layout_right::mapping)

From cppreference.com
< cpp‎ | container‎ | mdspan‎ | layout right‎ | mapping
 
 
 
 
 
template< class OtherExtents >

friend constexpr bool operator==( const mapping& lhs,

                                  const mapping<OtherExtents>& rhs ) noexcept;
(C++23から)

同じレイアウトタイプの2つのレイアウトマッピングを、それらの基になるエクステントに基づいて比較します。

レイアウトマッピング lhsrhs は、lhs.extents()rhs.extents() の両方が等しい場合に等しいとみなされます。

このオーバーロードは、extents_type::rank() == OtherExtents::rank()true の場合にのみ、オーバーロード解決に参加します。

目次

[編集] パラメータ

lhs, rhs - 比較するエクステントを持つレイアウトマッピング

[編集] 戻り値

true、もし lhs.extents() == rhs.extents()true ならば、そうでなければ false

[編集]

[編集] 関連項目

このlayout_leftのマッピングを他のマッピングと比較します。
(function template) [編集]
layout_strideのこのレイアウトマッピングを他のマッピングと比較します
(function template) [編集]
2つの extents の各次元における基となる範囲を比較します。
(function) [編集]
English 日本語 中文(简体) 中文(繁體)