From Jason Turner

[pointer.traits.general]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpboc2wu1e/{from.md → to.md} +23 -0
tmp/tmpboc2wu1e/{from.md → to.md} RENAMED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### General <a id="pointer.traits.general">[[pointer.traits.general]]</a>
2
+
3
+ The class template `pointer_traits` supplies a uniform interface to
4
+ certain attributes of pointer-like types.
5
+
6
+ ``` cpp
7
+ namespace std {
8
+ template<class Ptr> struct pointer_traits {
9
+ see below;
10
+ };
11
+
12
+ template<class T> struct pointer_traits<T*> {
13
+ using pointer = T*;
14
+ using element_type = T;
15
+ using difference_type = ptrdiff_t;
16
+
17
+ template<class U> using rebind = U*;
18
+
19
+ static constexpr pointer pointer_to(see below r) noexcept;
20
+ };
21
+ }
22
+ ```
23
+