Lines Matching refs:mapping
43 class layout_left::mapping {
46 "layout_left::mapping template argument must be a specialization of extents.");
69 "layout_left::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(10, 3) == -126
80 "layout_left::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(10, 3) == -126
92 "layout_left::mapping converting ctor: other.required_span_size() must be representable as index_type.");
98 mapping(const layout_right::mapping<_OtherExtents>& __other) noexcept
103 // layout_left::mapping<dextents<char, 1>> map(
104 // layout_right::mapping<dextents<unsigned, 1>>(dextents<unsigned, 1>(200))); map.extents().extent(0) ==
108 "layout_left::mapping converting ctor: other.required_span_size() must be representable as index_type.");
114 mapping(const layout_stride::mapping<_OtherExtents>& __other) noexcept
125 "layout_left::mapping from layout_stride ctor: strides are not compatible with layout_left.");
128 "layout_left::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_left::mapping: out of bounds indexing");
178 __r < extents_type::rank(), "layout_left::mapping::stride(): invalid rank index");
188 operator==(const mapping& __lhs, const mapping<_OtherExtents>& __rhs) noexcept {