bsl::remove_extent

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* ]

Synopsis

Declared in <bslmf_removeextent.h>

template<class t_TYPE>
struct remove_extent;

Type Aliases

NameDescription
type This typedef is an alias to t_TYPE when t_TYPE is not an array type.

Specializations

NameDescription
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