deduction guides for std::mdspan
<mdspan>
requires(std::is_array_v <CArray> && std::rank_v <CArray> == 1)
mdspan( CArray& )
-> mdspan<std::remove_all_extents_t <CArray>,
requires(std::is_pointer_v <std::remove_reference_t <Pointer>>)
mdspan( Pointer&& )
-> mdspan<std::remove_pointer_t <std::remove_reference_t <Pointer>>,
requires((std::is_convertible_v <Integrals, std::size_t > && ...) &&
sizeof...(Integrals) > 0)
explicit mdspan( ElementType*, Integrals... )
mdspan( ElementType*, std::span <OtherIndexType, N> )
mdspan( ElementType*, const std::array <OtherIndexType, N>& )
mdspan( ElementType*, const std::extents <IndexType, ExtentsPack...>& )
mdspan( ElementType*, const MappingType& )
-> mdspan<ElementType, typename MappingType::extents_type,
mdspan( const typename AccessorType::data_handle_type&, const MappingType&,
const AccessorType& )
-> mdspan<typename AccessorType::element_type,
typename MappingType::extents_type,
Reason: explanation
[edit] Example
Reason: no example