deduction guides for
std::mdspan
|
Défini dans l'en-tête
<mdspan>
|
||
|
template
<
class
CArray
>
requires
(
std::
is_array_v
<
CArray
>
&&
std::
rank_v
<
CArray
>
==
1
)
|
(1) | (depuis C++23) |
|
template
<
class
Pointer
>
requires
(
std::
is_pointer_v
<
std::
remove_reference_t
<
Pointer
>>
)
|
(2) | (depuis C++23) |
|
template
<
class
ElementType,
class
...
Integrals
>
requires
(
(
std::
is_convertible_v
<
Integrals,
std::
size_t
>
&&
...
)
&&
|
(3) | (depuis C++23) |
|
template
<
class
ElementType,
class
OtherIndexType,
std::
size_t
N
>
mdspan
(
ElementType
*
,
std::
span
<
OtherIndexType, N
>
)
|
(4) | (depuis C++23) |
|
template
<
class
ElementType,
class
OtherIndexType,
std::
size_t
N
>
mdspan
(
ElementType
*
,
const
std::
array
<
OtherIndexType, N
>
&
)
|
(5) | (depuis C++23) |
|
template
<
class
ElementType,
class
IndexType,
std::
size_t
...
ExtentsPack
>
mdspan
(
ElementType
*
,
const
std::
extents
<
IndexType, ExtentsPack...
>
&
)
|
(6) | (depuis C++23) |
|
template
<
class
ElementType,
class
MappingType
>
mdspan
(
ElementType
*
,
const
MappingType
&
)
|
(7) | (depuis C++23) |
|
template
<
class
MappingType,
class
AccessorType
>
mdspan
(
const
typename
AccessorType
::
data_handle_type
&
,
const
MappingType
&
,
|
(8) | (depuis C++23) |
|
Cette section est incomplète
Raison : explication |
Exemple
|
Cette section est incomplète
Raison : aucun exemple |