21 Metaprogramming library [meta]

21.3 Metaprogramming and type traits [type.traits]

21.3.8 Transformations between types [meta.trans]

21.3.8.6 Pointer modifications [meta.trans.ptr]

Table 55: Pointer modifications [tab:meta.trans.ptr]
Template
Comments
template<class T>
struct remove_­pointer;
If T has type “(possibly cv-qualified) pointer to T1” then the member typedef type denotes T1; otherwise, it denotes T.
template<class T>
struct add_­pointer;
If T is a referenceable type ([defns.referenceable]) or a cv void type then the member typedef type denotes remove_­reference_­t<T>*; otherwise, type denotes T.