deduction guides for std::mdspan
Defined in header <mdspan>
|
||
template
<
class CArray >
requires(
std::is_array_v
<CArray>
&&
std::rank_v
<CArray>
==
1
)
|
(1) | (since C++23) |
template
<
class Pointer >
requires(
std::is_pointer_v
<
std::remove_reference_t
<Pointer>>
)
|
(2) | (since C++23) |
template
<
class ElementType, class... Integrals
>
requires(
(
std::is_convertible_v
<Integrals, std::size_t
>
&& ...)
&&
|
(3) | (since C++23) |
template
<
class ElementType, class OtherIndexType, std::size_t N >
mdspan( ElementType*, std::span
<OtherIndexType, N>
)
|
(4) | (since C++23) |
template
<
class ElementType, class OtherIndexType, std::size_t N >
mdspan( ElementType*, const
std::array
<OtherIndexType, N>
&
)
|
(5) | (since C++23) |
template
<
class ElementType, class IndexType, std::size_t... ExtentsPack
>
mdspan( ElementType*, const
std::extents
<IndexType, ExtentsPack...>
&
)
|
(6) | (since C++23) |
template
<
class ElementType, class MappingType >
mdspan( ElementType*, const MappingType&
)
|
(7) | (since C++23) |
template
<
class MappingType, class AccessorType >
mdspan(
const
typename AccessorType::
data_handle_type
&, const MappingType&, |
(8) | (since C++23) |
This section is incomplete Reason: explanation |
Example
This section is incomplete Reason: no example |