- [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は、MappingがLayoutのレイアウトマッピングか否かを判定する説明専用変数テンプレートである。
- C++23