Skip to content

Commit 68f0ce4

Browse files
committed
Integrate P0776R1's changes to exception_list
1 parent 8a66b42 commit 68f0ce4

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

exceptions.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,32 +54,33 @@ <h1>Exception reporting behavior</h1>
5454
<h1>Header <code>&lt;experimental/exception_list&gt;</code> synopsis</h1>
5555
<pre>
5656

57-
namespace std {
58-
namespace experimental {
59-
namespace parallel {
60-
inline namespace v2 {
57+
<del>namespace std {</del>
58+
namespace <ins>std::</ins>experimental {
59+
<ins>inline </ins>namespace parallel<ins>ism_v2</ins> {
60+
<del>inline namespace v2 {</del>
6161

6262
class exception_list : public exception
6363
{
6464
public:
65-
typedef <em>unspecified</em> iterator;
65+
<del>typedef <em>unspecified</em> iterator;</del>
66+
<ins>using iterator = <em>unspecified</em>;</ins>
6667

6768
size_t size() const noexcept;
6869
iterator begin() const noexcept;
6970
iterator end() const noexcept;
7071

7172
const char* what() const noexcept override;
7273
};
74+
<del>}</del>
7375
}
7476
}
75-
}
76-
}
77+
<del>}</del>
7778
</pre>
7879

7980
<p>
80-
The class <code>exception_list</code> owns a sequence of <code>exception_ptr</code> objects. The parallel
81+
The class <code>exception_list</code> owns a sequence of <code>exception_ptr</code> objects.<del> The parallel
8182
algorithms may use the <code>exception_list</code> to communicate uncaught exceptions encountered during parallel execution to the
82-
caller of the algorithm.
83+
caller of the algorithm.</del>
8384
</p>
8485

8586
<p>

0 commit comments

Comments
 (0)