Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.06 KB

op_equal.md

File metadata and controls

42 lines (30 loc) · 1.06 KB

operator==

  • linalg[meta header]
  • function template[meta id-type]
  • std::linalg[meta namespace]
  • layout_transpose::mapping[meta class]
  • cpp26[meta cpp]
template<class OtherExtents>
friend constexpr bool
  operator==(const mapping& x, const mapping<OtherExtents>& y);

//operator==により、以下のオーバーロードが使用可能になる        
template<class OtherExtents>
friend constexpr bool
  operator!=(const mapping& x, const mapping<OtherExtents>& y);

概要

mappingの等値比較を行う。

テンプレートパラメータ制約

式x.nested-mapping_ == y.nested-mapping_が適格、かつ結果がboolに変換可能であること。

戻り値

x.nested-mapping_ == y.nested-mapping_

バージョン

言語

  • C++26

処理系

参照