From Jason Turner

[terminate]

Diff to HTML by rtfpessoa

tmp/tmpyb6v8x7v/{from.md → to.md} RENAMED
@@ -3,13 +3,16 @@
3
  ``` cpp
4
  [[noreturn]] void terminate() noexcept;
5
  ```
6
 
7
  *Remarks:* Called by the implementation when exception handling must be
8
- abandoned for any of several reasons ([[except.terminate]]), in effect
9
- immediately after throwing the exception. May also be called directly by
10
- the program.
11
 
12
- *Effects:* Calls the current `terminate_handler` function. A default
13
- `terminate_handler` is always considered a callable handler in this
14
- context.
 
 
 
 
15
 
 
3
  ``` cpp
4
  [[noreturn]] void terminate() noexcept;
5
  ```
6
 
7
  *Remarks:* Called by the implementation when exception handling must be
8
+ abandoned for any of several reasons ([[except.terminate]]). May also
9
+ be called directly by the program.
 
10
 
11
+ *Effects:* Calls a `terminate_handler` function. It is unspecified which
12
+ `terminate_handler` function will be called if an exception is active
13
+ during a call to `set_terminate`. Otherwise calls the current
14
+ `terminate_handler` function.
15
+
16
+ [*Note 1*: A default `terminate_handler` is always considered a
17
+ callable handler in this context. — *end note*]
18