Lines Matching full:mapping
44 class layout_right::mapping {
47 "layout_right::mapping template argument must be a specialization of extents.");
70 "layout_right::mapping product of static extents must be representable as index_type.");
74 _LIBCPP_HIDE_FROM_ABI constexpr mapping() noexcept = default;
75 _LIBCPP_HIDE_FROM_ABI constexpr mapping(const mapping&) noexcept = default;
76 _LIBCPP_HIDE_FROM_ABI constexpr mapping(const extents_type& __ext) noexcept : __extents_(__ext) {
78 // mapping<dextents<char, 2>> map(dextents<char, 2>(40,40)); map(3, 10) == -126
81 "layout_right::mapping extents ctor: product of extents must be representable as index_type.");
87 mapping(const mapping<_OtherExtents>& __other) noexcept
90 // mapping<dextents<char, 2>> map(mapping<dextents<int, 2>>(dextents<int, 2>(40,40))); map(3, 10) == -126
93 "layout_right::mapping converting ctor: other.required_span_size() must be representable as index_type.");
99 mapping(const layout_left::mapping<_OtherExtents>& __other) noexcept
104 // layout_right::mapping<dextents<char, 1>> map(
105 // layout_left::mapping<dextents<unsigned, 1>>(dextents<unsigned, 1>(200))); map.extents().extent(0) ==
109 "layout_right::mapping converting ctor: other.required_span_size() must be representable as index_type.");
115 mapping(const layout_stride::mapping<_OtherExtents>& __other) noexcept
126 "layout_right::mapping from layout_stride ctor: strides are not compatible with layout_right.");
129 "layout_right::mapping from layout_stride ctor: other.required_span_size() must be representable as "
134 _LIBCPP_HIDE_FROM_ABI constexpr mapping& operator=(const mapping&) noexcept = default;
155 "layout_right::mapping: out of bounds indexing");
177 __r < extents_type::rank(), "layout_right::mapping::stride(): invalid rank index");
187 operator==(const mapping& __lhs, const mapping<_OtherExtents>& __rhs) noexcept {