From Jason Turner

[except.uncaught]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp7wkr0vy5/{from.md → to.md} +11 -5
tmp/tmp7wkr0vy5/{from.md → to.md} RENAMED
@@ -1,46 +1,49 @@
1
- ### The `std::uncaught_exceptions()` function <a id="except.uncaught">[[except.uncaught]]</a>
2
 
3
  An exception is considered uncaught after completing the initialization
4
  of the exception object [[except.throw]] until completing the activation
5
  of a handler for the exception [[except.handle]].
6
 
7
  [*Note 1*: As a consequence, an exception is considered uncaught during
8
  any stack unwinding resulting from it being thrown. — *end note*]
9
 
10
- If an exception is rethrown ([[expr.throw]], [[propagation]]), it is
11
  considered uncaught from the point of rethrow until the rethrown
12
- exception is caught. The function `std::uncaught_exceptions()`
13
  [[uncaught.exceptions]] returns the number of uncaught exceptions in the
14
  current thread.
15
 
16
  <!-- Link reference definitions -->
17
  [algorithms.parallel.defns]: algorithms.md#algorithms.parallel.defns
18
  [algorithms.parallel.exceptions]: algorithms.md#algorithms.parallel.exceptions
19
- [basic.def.odr]: basic.md#basic.def.odr
20
- [basic.lookup]: basic.md#basic.lookup
21
  [basic.start.dynamic]: basic.md#basic.start.dynamic
22
  [basic.start.main]: basic.md#basic.start.main
23
  [basic.start.term]: basic.md#basic.start.term
24
  [basic.stc.dynamic.allocation]: basic.md#basic.stc.dynamic.allocation
25
  [basic.stc.dynamic.deallocation]: basic.md#basic.stc.dynamic.deallocation
26
  [class.abstract]: class.md#class.abstract
 
27
  [class.copy.ctor]: class.md#class.copy.ctor
28
  [class.copy.elision]: class.md#class.copy.elision
29
  [class.dtor]: class.md#class.dtor
 
30
  [conv.fctptr]: expr.md#conv.fctptr
31
  [conv.ptr]: expr.md#conv.ptr
32
  [conv.qual]: expr.md#conv.qual
33
  [dcl.fct]: dcl.md#dcl.fct
34
  [dcl.init]: dcl.md#dcl.init
 
 
35
  [except]: #except
36
  [except.ctor]: #except.ctor
37
  [except.handle]: #except.handle
38
  [except.nested]: support.md#except.nested
39
  [except.pre]: #except.pre
40
  [except.spec]: #except.spec
41
  [except.special]: #except.special
 
42
  [except.terminate]: #except.terminate
43
  [except.throw]: #except.throw
44
  [except.uncaught]: #except.uncaught
45
  [exception.terminate]: support.md#exception.terminate
46
  [execpol.par]: utilities.md#execpol.par
@@ -48,25 +51,28 @@ current thread.
48
  [execpol.seq]: utilities.md#execpol.seq
49
  [expr.call]: expr.md#expr.call
50
  [expr.const]: expr.md#expr.const
51
  [expr.dynamic.cast]: expr.md#expr.dynamic.cast
52
  [expr.new]: expr.md#expr.new
 
53
  [expr.throw]: expr.md#expr.throw
54
  [expr.typeid]: expr.md#expr.typeid
55
  [futures]: thread.md#futures
56
  [intro.execution]: basic.md#intro.execution
57
  [intro.races]: basic.md#intro.races
58
  [over.binary]: over.md#over.binary
59
  [over.match]: over.md#over.match
60
  [over.over]: over.md#over.over
61
  [propagation]: support.md#propagation
62
  [stmt.jump]: stmt.md#stmt.jump
 
63
  [stmt.pre]: stmt.md#stmt.pre
64
  [stmt.return]: stmt.md#stmt.return
65
  [structure.specifications]: library.md#structure.specifications
66
  [support.start.term]: support.md#support.start.term
67
  [temp.explicit]: temp.md#temp.explicit
 
68
  [thread.condition.condvar]: thread.md#thread.condition.condvar
69
  [thread.condition.condvarany]: thread.md#thread.condition.condvarany
70
  [thread.thread.assign]: thread.md#thread.thread.assign
71
  [thread.thread.constr]: thread.md#thread.thread.constr
72
  [thread.thread.destr]: thread.md#thread.thread.destr
 
1
+ ### The `std::uncaught_exceptions` function <a id="except.uncaught">[[except.uncaught]]</a>
2
 
3
  An exception is considered uncaught after completing the initialization
4
  of the exception object [[except.throw]] until completing the activation
5
  of a handler for the exception [[except.handle]].
6
 
7
  [*Note 1*: As a consequence, an exception is considered uncaught during
8
  any stack unwinding resulting from it being thrown. — *end note*]
9
 
10
+ If an exception is rethrown [[expr.throw]], [[propagation]], it is
11
  considered uncaught from the point of rethrow until the rethrown
12
+ exception is caught. The function `std::uncaught_exceptions`
13
  [[uncaught.exceptions]] returns the number of uncaught exceptions in the
14
  current thread.
15
 
16
  <!-- Link reference definitions -->
17
  [algorithms.parallel.defns]: algorithms.md#algorithms.parallel.defns
18
  [algorithms.parallel.exceptions]: algorithms.md#algorithms.parallel.exceptions
 
 
19
  [basic.start.dynamic]: basic.md#basic.start.dynamic
20
  [basic.start.main]: basic.md#basic.start.main
21
  [basic.start.term]: basic.md#basic.start.term
22
  [basic.stc.dynamic.allocation]: basic.md#basic.stc.dynamic.allocation
23
  [basic.stc.dynamic.deallocation]: basic.md#basic.stc.dynamic.deallocation
24
  [class.abstract]: class.md#class.abstract
25
+ [class.base.init]: class.md#class.base.init
26
  [class.copy.ctor]: class.md#class.copy.ctor
27
  [class.copy.elision]: class.md#class.copy.elision
28
  [class.dtor]: class.md#class.dtor
29
+ [class.inhctor.init]: class.md#class.inhctor.init
30
  [conv.fctptr]: expr.md#conv.fctptr
31
  [conv.ptr]: expr.md#conv.ptr
32
  [conv.qual]: expr.md#conv.qual
33
  [dcl.fct]: dcl.md#dcl.fct
34
  [dcl.init]: dcl.md#dcl.init
35
+ [dcl.init.aggr]: dcl.md#dcl.init.aggr
36
+ [dcl.init.general]: dcl.md#dcl.init.general
37
  [except]: #except
38
  [except.ctor]: #except.ctor
39
  [except.handle]: #except.handle
40
  [except.nested]: support.md#except.nested
41
  [except.pre]: #except.pre
42
  [except.spec]: #except.spec
43
  [except.special]: #except.special
44
+ [except.special.general]: #except.special.general
45
  [except.terminate]: #except.terminate
46
  [except.throw]: #except.throw
47
  [except.uncaught]: #except.uncaught
48
  [exception.terminate]: support.md#exception.terminate
49
  [execpol.par]: utilities.md#execpol.par
 
51
  [execpol.seq]: utilities.md#execpol.seq
52
  [expr.call]: expr.md#expr.call
53
  [expr.const]: expr.md#expr.const
54
  [expr.dynamic.cast]: expr.md#expr.dynamic.cast
55
  [expr.new]: expr.md#expr.new
56
+ [expr.prim.lambda.capture]: expr.md#expr.prim.lambda.capture
57
  [expr.throw]: expr.md#expr.throw
58
  [expr.typeid]: expr.md#expr.typeid
59
  [futures]: thread.md#futures
60
  [intro.execution]: basic.md#intro.execution
61
  [intro.races]: basic.md#intro.races
62
  [over.binary]: over.md#over.binary
63
  [over.match]: over.md#over.match
64
  [over.over]: over.md#over.over
65
  [propagation]: support.md#propagation
66
  [stmt.jump]: stmt.md#stmt.jump
67
+ [stmt.label]: stmt.md#stmt.label
68
  [stmt.pre]: stmt.md#stmt.pre
69
  [stmt.return]: stmt.md#stmt.return
70
  [structure.specifications]: library.md#structure.specifications
71
  [support.start.term]: support.md#support.start.term
72
  [temp.explicit]: temp.md#temp.explicit
73
+ [term.odr.use]: basic.md#term.odr.use
74
  [thread.condition.condvar]: thread.md#thread.condition.condvar
75
  [thread.condition.condvarany]: thread.md#thread.condition.condvarany
76
  [thread.thread.assign]: thread.md#thread.thread.assign
77
  [thread.thread.constr]: thread.md#thread.thread.constr
78
  [thread.thread.destr]: thread.md#thread.thread.destr