Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 773 Bytes

File metadata and controls

30 lines (21 loc) · 773 Bytes

is-mapping-of

  • [meta exposition-only]
  • mdspan[meta header]
  • variable[meta id-type]
  • cpp23[meta cpp]
template<class Layout, class Mapping>
constexpr bool is-mapping-of =  // exposition only
  is_same_v<typename Layout::template mapping<typename Mapping::extents_type>, Mapping>;
  • is_same_v[link /reference/type_traits/is_same.md]

概要

is-mapping-ofは、MappingLayoutレイアウトマッピングか否かを判定する説明専用変数テンプレートである。

バージョン

言語

  • C++23

関連項目

参照