-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
it would be groovy if i could create an mdspan from an mdarray like mdspan{array}. something like this might work:
//! \brief Deduction guide for \c ::std::mdspan that makes its template parameters
//! deducable from a \c ::std::experimental::mdarray.
template <class ElementType, class Extents, class LayoutPolicy, class Container>
mdspan(experimental::mdarray<ElementType, Extents, LayoutPolicy, Container>&)
-> mdspan<ElementType, Extents, LayoutPolicy>;
//! \overload
template <class ElementType, class Extents, class LayoutPolicy, class Container>
mdspan(const experimental::mdarray<ElementType, Extents, LayoutPolicy, Container>&)
-> mdspan<const ElementType, Extents, LayoutPolicy>;Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels