We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86abc19 commit 53aed2eCopy full SHA for 53aed2e
1 file changed
include/experimental/p3242_bits/copy.hpp
@@ -124,7 +124,7 @@ void copy(
124
mdspan<SrcElementType, SrcExtents, SrcLayoutPolicy, SrcAccessorPolicy>;
125
using dst_type =
126
mdspan<DstElementType, DstExtents, DstLayoutPolicy, DstAccessorPolicy>;
127
- detail::mdspan_copy_impl<src_type, dst_type>::copy_over_extents(src.extents(),
+ detail::mdspan_copy_impl<src_type, dst_type>::copy_over_extents(DstExtents{src.extents()},
128
src, dst);
129
}
130
} // namespace MDSPAN_IMPL_PROPOSED_NAMESPACE
0 commit comments