class template partial specialization
std::pointer_traits<T*>
- Header
<algorithm>also in<array>,<bitset>,<chrono>,<condition_variable>,<deque>and 58 more- Draft
- [algorithm.syn]
- Scope
std- cppreference
- <algorithm> nearest page
Synopsis
template<class T>
struct pointer_traits<T*>;Member types
| Name | Declaration |
|---|---|
difference_typetype alias · member type | = ptrdiff_t |
element_typetype alias · member type | = T |
pointertype alias · member type | = T* |
rebindalias template · member type | = U* |
Static member functions
| Name | Declaration |
|---|---|
pointer_tostatic member function | pointer pointer_to(conditional_t<is_void_v<T>, ycxx-nat, T>& r) |