1.3 KiB
1.3 KiB
[meta.trans.ptr]
21 Metaprogramming library [meta]
21.3 Metaprogramming and type traits [type.traits]
21.3.9 Transformations between types [meta.trans]
21.3.9.6 Pointer modifications [meta.trans.ptr]
The templates specified in Table 61 add or remove pointers.
Table 61 — Pointer modifications [tab:meta.trans.ptr]
| ð Template |
Comments |
|---|---|
| ð template 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 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*; otherwise, type denotes T. |