From Jason Turner

[allocator.traits.members]

Diff to HTML by rtfpessoa

tmp/tmp11ub2s3g/{from.md → to.md} RENAMED
@@ -1,23 +1,22 @@
1
  #### Static member functions <a id="allocator.traits.members">[[allocator.traits.members]]</a>
2
 
3
  ``` cpp
4
- [[nodiscard]] static constexpr pointer allocate(Alloc& a, size_type n);
5
  ```
6
 
7
  *Returns:* `a.allocate(n)`.
8
 
9
  ``` cpp
10
- [[nodiscard]] static constexpr pointer allocate(Alloc& a, size_type n, const_void_pointer hint);
11
  ```
12
 
13
  *Returns:* `a.allocate(n, hint)` if that expression is well-formed;
14
  otherwise, `a.allocate(n)`.
15
 
16
  ``` cpp
17
- [[nodiscard]] static constexpr allocation_result<pointer, size_type>
18
- allocate_at_least(Alloc& a, size_type n);
19
  ```
20
 
21
  *Returns:* `a.allocate_at_least(n)` if that expression is well-formed;
22
  otherwise, `{a.allocate(n), n}`.
23
 
 
1
  #### Static member functions <a id="allocator.traits.members">[[allocator.traits.members]]</a>
2
 
3
  ``` cpp
4
+ static constexpr pointer allocate(Alloc& a, size_type n);
5
  ```
6
 
7
  *Returns:* `a.allocate(n)`.
8
 
9
  ``` cpp
10
+ static constexpr pointer allocate(Alloc& a, size_type n, const_void_pointer hint);
11
  ```
12
 
13
  *Returns:* `a.allocate(n, hint)` if that expression is well-formed;
14
  otherwise, `a.allocate(n)`.
15
 
16
  ``` cpp
17
+ static constexpr allocation_result<pointer, size_type> allocate_at_least(Alloc& a, size_type n);
 
18
  ```
19
 
20
  *Returns:* `a.allocate_at_least(n)` if that expression is well-formed;
21
  otherwise, `{a.allocate(n), n}`.
22