From Jason Turner

[mem.res.public]

Diff to HTML by rtfpessoa

tmp/tmph3qt8be7/{from.md → to.md} RENAMED
@@ -8,11 +8,17 @@
8
 
9
  ``` cpp
10
  [[nodiscard]] void* allocate(size_t bytes, size_t alignment = max_align);
11
  ```
12
 
13
- *Effects:* Equivalent to: `return do_allocate(bytes, alignment);`
 
 
 
 
 
 
14
 
15
  ``` cpp
16
  void deallocate(void* p, size_t bytes, size_t alignment = max_align);
17
  ```
18
 
 
8
 
9
  ``` cpp
10
  [[nodiscard]] void* allocate(size_t bytes, size_t alignment = max_align);
11
  ```
12
 
13
+ *Effects:* Allocates storage by calling `do_allocate(bytes, alignment)`
14
+ and implicitly creates objects within the allocated region of storage.
15
+
16
+ *Returns:* A pointer to a suitable created object [[intro.object]] in
17
+ the allocated region of storage.
18
+
19
+ *Throws:* What and when the call to `do_allocate` throws.
20
 
21
  ``` cpp
22
  void deallocate(void* p, size_t bytes, size_t alignment = max_align);
23
  ```
24