21
Metaprogramming library
[meta]
21.3
Metaprogramming and type traits
[type.traits]
21.3.8
Transformations between types
[meta.trans]
21.3.8.5
Array modifications
[meta.trans.arr]
Table 53: Array modifications
[tab:meta.trans.arr]
๐
Template
Comments
๐
template
<
class
T
>
struct
remove_
extent;
If
T
is a type โarray of
U
โ, the member typedef
type
denotes
U
, otherwise
T
.
[
Note
1
:
For multidimensional arrays, only the first array dimension is removed
.
For a type โarray of
const
U
โ, the resulting type is
const
U
.
โ
end note
]
๐
template
<
class
T
>
struct
remove_
all_
extents;
If
T
is โmulti-dimensional array of
U
โ, the resulting member typedef
type
denotes
U
, otherwise
T
.