From Jason Turner

[diff.cpp20.temp]

Diff to HTML by rtfpessoa

tmp/tmpgyyth9y9/{from.md → to.md} RENAMED
@@ -1,16 +1,20 @@
1
  ### [[temp]]: templates <a id="diff.cpp20.temp">[[diff.cpp20.temp]]</a>
2
 
3
  **Change:** Deducing template arguments from exception specifications.
4
  **Rationale:** Facilitate generic handling of throwing and non-throwing
5
  functions. **Effect on original feature:** Valid ISO C++20 code may be
6
- ill-formed in this revision of C++. For example:
 
 
7
 
8
  ``` cpp
9
  template<bool> struct A { };
10
  template<bool B> void f(void (*)(A<B>) noexcept(B));
11
  void g(A<false>) noexcept;
12
  void h() {
13
  f(g); // ill-formed; previously well-formed
14
  }
15
  ```
16
 
 
 
 
1
  ### [[temp]]: templates <a id="diff.cpp20.temp">[[diff.cpp20.temp]]</a>
2
 
3
  **Change:** Deducing template arguments from exception specifications.
4
  **Rationale:** Facilitate generic handling of throwing and non-throwing
5
  functions. **Effect on original feature:** Valid ISO C++20 code may be
6
+ ill-formed in this revision of C++.
7
+
8
+ [*Example 1*:
9
 
10
  ``` cpp
11
  template<bool> struct A { };
12
  template<bool B> void f(void (*)(A<B>) noexcept(B));
13
  void g(A<false>) noexcept;
14
  void h() {
15
  f(g); // ill-formed; previously well-formed
16
  }
17
  ```
18
 
19
+ — *end example*]
20
+