Lines Matching refs:mapping
43 class layout_right::mapping {
46 "layout_right::mapping template argument must be a specialization of extents.");
69 "layout_right::mapping product of static extents must be representable as index_type.");
73 _LIBCPP_HIDE_FROM_ABI constexpr mapping() noexcept = default;
74 _LIBCPP_HIDE_FROM_ABI constexpr mapping(const mapping&) noexcept = default;
75 _LIBCPP_HIDE_FROM_ABI constexpr mapping(const extents_type& __ext) noexcept : __extents_(__ext) {
77 // mapping<dextents<char, 2>> map(dextents<char, 2>(40,40)); map(3, 10) == -126
80 "layout_right::mapping extents ctor: product of extents must be representable as index_type.");
86 mapping(const mapping<_OtherExtents>& __other) noexcept
89 // mapping<dextents<char, 2>> map(mapping<dextents<int, 2>>(dextents<int, 2>(40,40))); map(3, 10) == -126
92 "layout_right::mapping converting ctor: other.required_span_size() must be representable as index_type.");
98 mapping(const layout_left::mapping<_OtherExtents>& __other) noexcept
103 // layout_right::mapping<dextents<char, 1>> map(
104 // layout_left::mapping<dextents<unsigned, 1>>(dextents<unsigned, 1>(200))); map.extents().extent(0) ==
108 "layout_right::mapping converting ctor: other.required_span_size() must be representable as index_type.");
114 mapping(const layout_stride::mapping<_OtherExtents>& __other) noexcept
125 "layout_right::mapping from layout_stride ctor: strides are not compatible with layout_right.");
128 "layout_right::mapping from layout_stride ctor: other.required_span_size() must be representable as "
133 _LIBCPP_HIDE_FROM_ABI constexpr mapping& operator=(const mapping&) noexcept = default;
154 "layout_right::mapping: out of bounds indexing");
176 __r < extents_type::rank(), "layout_right::mapping::stride(): invalid rank index");
186 operator==(const mapping& __lhs, const mapping<_OtherExtents>& __rhs) noexcept {