From Jason Turner

[stopcallback.cons]

Diff to HTML by rtfpessoa

tmp/tmpqmr3pyas/{from.md → to.md} RENAMED
@@ -22,15 +22,15 @@ before the constructor returns. Otherwise, if `st` has ownership of a
22
  stop state, acquires shared ownership of that stop state and registers
23
  the callback with that stop state such that
24
  `std::forward<Callback>(callback)()` is evaluated by the first call to
25
  `request_stop()` on an associated `stop_source`.
26
 
27
- *Remarks:* If evaluating `std::forward<Callback>(callback)()` exits via
28
- an exception, then `terminate` is called [[except.terminate]].
29
-
30
  *Throws:* Any exception thrown by the initialization of `callback`.
31
 
 
 
 
32
  ``` cpp
33
  ~stop_callback();
34
  ```
35
 
36
  *Effects:* Unregisters the callback from the owned stop state, if any.
 
22
  stop state, acquires shared ownership of that stop state and registers
23
  the callback with that stop state such that
24
  `std::forward<Callback>(callback)()` is evaluated by the first call to
25
  `request_stop()` on an associated `stop_source`.
26
 
 
 
 
27
  *Throws:* Any exception thrown by the initialization of `callback`.
28
 
29
+ *Remarks:* If evaluating `std::forward<Callback>(callback)()` exits via
30
+ an exception, then `terminate` is invoked [[except.terminate]].
31
+
32
  ``` cpp
33
  ~stop_callback();
34
  ```
35
 
36
  *Effects:* Unregisters the callback from the owned stop state, if any.