From Jason Turner

[diff.cpp14.containers]

Diff to HTML by rtfpessoa

tmp/tmpwh5ug91o/{from.md → to.md} RENAMED
@@ -2,11 +2,13 @@
2
 
3
  **Change:** Requirements change: **Rationale:** Increase portability,
4
  clarification of associative container requirements. **Effect on
5
  original feature:** Valid C++14 code that attempts to use associative
6
  containers having a comparison object with non-const function call
7
- operator may fail to compile in this revision of C++. For example:
 
 
8
 
9
  ``` cpp
10
  #include <set>
11
 
12
  struct compare
@@ -21,5 +23,7 @@ int main() {
21
  const std::set<int, compare> s;
22
  s.find(0);
23
  }
24
  ```
25
 
 
 
 
2
 
3
  **Change:** Requirements change: **Rationale:** Increase portability,
4
  clarification of associative container requirements. **Effect on
5
  original feature:** Valid C++14 code that attempts to use associative
6
  containers having a comparison object with non-const function call
7
+ operator may fail to compile in this revision of C++.
8
+
9
+ [*Example 1*:
10
 
11
  ``` cpp
12
  #include <set>
13
 
14
  struct compare
 
23
  const std::set<int, compare> s;
24
  s.find(0);
25
  }
26
  ```
27
 
28
+ — *end example*]
29
+