From the C++14 standard: If T names a type "array of U", the member typedef type shall be U, otherwise T. [ Note: 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* ]
Declared in <bslmf_removeextent.h>
template<class t_TYPE>
struct remove_extent;
| Name | Description |
|---|---|
type | This typedef is an alias to t_TYPE when t_TYPE is not an array type. |
| Name | Description |
|---|---|
remove_extent<t_TYPE[]> | Specialization of remove_extent for array of unknown bound |
remove_extent<t_TYPE[]> | Specialization of remove_extent for array of known bound |