bsl::remove_pointer

This struct template implements the remove_pointer meta-function defined in the C++11 standard [meta.trans.ptr], providing an alias, type, that returns the result. If the (template parameter) t_TYPE is a (possibly cv-qualified) pointer type, then type is an alias to the type pointed to by t_TYPE; otherwise, type is an alias to t_TYPE.

Synopsis

Declared in <bslmf_removepointer.h>

template<class t_TYPE>
struct remove_pointer;

Type Aliases

NameDescription
type This typedef is an alias to the type pointed to by the (template parameter) t_TYPE if t_TYPE is a (possibly cv-qualified) pointer type; otherwise, type is an alias to t_TYPE.