From Jason Turner

[diff.cpp11.basic]

Diff to HTML by rtfpessoa

tmp/tmpekcsvx71/{from.md → to.md} RENAMED
@@ -1,18 +1,18 @@
1
  ### [[basic]]: basics <a id="diff.cpp11.basic">[[diff.cpp11.basic]]</a>
2
 
3
  **Change:** New usual (non-placement) deallocator. **Rationale:**
4
  Required for sized deallocation. **Effect on original feature:** Valid
5
- C++11 code could declare a global placement allocation function and
6
  deallocation function as follows:
7
 
8
  ``` cpp
9
  void* operator new(std::size_t, std::size_t);
10
  void operator delete(void*, std::size_t) noexcept;
11
  ```
12
 
13
- In this International Standard, however, the declaration of
14
- `operator delete` might match a predefined usual (non-placement)
15
- `operator delete` [[basic.stc.dynamic]]. If so, the program is
16
- ill-formed, as it was for class member allocation functions and
17
- deallocation functions [[expr.new]].
18
 
 
1
  ### [[basic]]: basics <a id="diff.cpp11.basic">[[diff.cpp11.basic]]</a>
2
 
3
  **Change:** New usual (non-placement) deallocator. **Rationale:**
4
  Required for sized deallocation. **Effect on original feature:** Valid
5
+ C++11 code can declare a global placement allocation function and
6
  deallocation function as follows:
7
 
8
  ``` cpp
9
  void* operator new(std::size_t, std::size_t);
10
  void operator delete(void*, std::size_t) noexcept;
11
  ```
12
 
13
+ In this revision of C++, however, the declaration of `operator delete`
14
+ might match a predefined usual (non-placement) `operator delete`
15
+ [[basic.stc.dynamic]]. If so, the program is ill-formed, as it was for
16
+ class member allocation functions and deallocation functions
17
+ [[expr.new]].
18