You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,10 @@
9
9
10
10
# Parallelism TS Editor's Report, Lenexa meeting
11
11
12
-
D4505 is the latest Parallelism TS Working Draft. It contains editorial changes to the Parallelism TS to apply the following revisions:
12
+
D4505 is the latest Parallelism TS Working Draft. It contains editorial and technical changes to the Parallelism TS to apply the following revisions:
13
13
14
14
* N4274 - Relaxing Packing Rules for Exceptions Thrown by Parallel Algorithms - Proposed Wording (Revision 1)
15
-
*D???? - Feature Test Macros for the Parallelism TS
15
+
* Feature test macro for the Parallelism TS
16
16
17
17
D4505 updates the previous draft, N4407, published in the pre-Lenexa mailing.
18
18
@@ -22,9 +22,9 @@ N4507 is document N4505 reformatted as a TS document. It updates N4409, which wa
22
22
23
23
* Applied N4274, which relaxes the exception packaging rules for exceptions thrown by parallel algorithms. Additionally, changed instances of "terminates with (exception)" phrasing to "exits via (exception)", as directed by the Library Working Group.
24
24
25
-
*Applied D????, which introduces feature test macros for the functionality of the Parallelism TS.
25
+
*Introduced the feature test macro `__cpp_lib_experimental_parallel_algorithm`for the functionality of the Parallelism TS as directed by SG1.
26
26
27
27
## Editorial Changes
28
28
29
-
None.
29
+
* Promoted subsection 1.3.1, which was incorrectly grouped under section 1.3, to section 1.4.
Copy file name to clipboardExpand all lines: general.html
+68-38Lines changed: 68 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -70,59 +70,89 @@ <h1>Namespaces and headers</h1>
70
70
<pre>
71
71
<code> #include <meow></code>
72
72
</pre>
73
+
</cxx-section>
73
74
74
-
<cxx-sectionid="parallel.general.defns">
75
-
<h1>Terms and definitions</h1>
75
+
<cxx-sectionid="parallel.general.defns">
76
+
<h1>Terms and definitions</h1>
77
+
78
+
<p>For the purposes of this document, the terms and definitions given in the C++ Standard and the following apply.</p>
79
+
80
+
<p>A <dfn>parallel algorithm</dfn> is a function template described by this Technical Specification declared in namespace <code>std::experimental::parallel::v1</code> with a formal template parameter named <code>ExecutionPolicy</code>.</p>
76
81
77
-
<p>For the purposes of this document, the terms and definitions given in the C++ Standard and the following apply.</p>
82
+
<p>
83
+
Parallel algorithms access objects indirectly accessible via their arguments by invoking the following functions:
78
84
79
-
<p>A <dfn>parallel algorithm</dfn> is a function template described by this Technical Specification declared in namespace <code>std::experimental::parallel::v1</code> with a formal template parameter named <code>ExecutionPolicy</code>.</p>
85
+
<ul>
86
+
<li>
87
+
All operations of the categories of the iterators that the algorithm is instantiated with.
88
+
</li>
80
89
81
-
<p>
82
-
Parallel algorithms access objects indirectly accessible via their arguments by invoking the following functions:
90
+
<li>
91
+
Functions on those sequence elements that are required by its specification.
92
+
</li>
93
+
94
+
<li>
95
+
User-provided function objects to be applied during the execution of the algorithm, if required by the specification.
96
+
</li>
97
+
98
+
<ins><li>
99
+
Operations on those function objects required by the specification.
100
+
101
+
<cxx-note>
102
+
See clause 25.1 of <em>C++ Standard Algorithms Library</em>.
103
+
</cxx-note>
104
+
</li></ins>
105
+
</ul>
106
+
107
+
These functions are herein called <em>element access functions</em>.
108
+
109
+
<cxx-example>
110
+
The <code>sort</code> function may invoke the following element access functions:
83
111
84
112
<ul>
85
113
<li>
86
-
All operations of the categories of the iterators that the algorithm is instantiated with.
114
+
Methods of the random-access iterator of the actual template argument, as per 24.2.7, as implied by the name of the
<header><spanclass="section-number">1.3.1</span><h1data-bookmark-label="1.3.1 Terms and definitions">Terms and definitions</h1><spanstyle="float:right"><ahref="#parallel.general.defns">[parallel.general.defns]</a></span></header>
1043
-
1045
+
<header><spanclass="section-number">1.4</span><h1data-bookmark-label="1.4 Terms and definitions">Terms and definitions</h1><spanstyle="float:right"><ahref="#parallel.general.defns">[parallel.general.defns]</a></span></header>
1044
1046
1047
+
1045
1048
1046
-
<ppara_num="1" id="parallel.general.defns.1">For the purposes of this document, the terms and definitions given in the C++ Standard and the following apply.</p>
1049
+
<ppara_num="1" id="parallel.general.defns.1">For the purposes of this document, the terms and definitions given in the C++ Standard and the following apply.</p>
1047
1050
1048
-
<ppara_num="2" id="parallel.general.defns.2">A <dfn>parallel algorithm</dfn> is a function template described by this Technical Specification declared in namespace <code>std::experimental::parallel::v1</code> with a formal template parameter named <code>ExecutionPolicy</code>.</p>
1051
+
<ppara_num="2" id="parallel.general.defns.2">A <dfn>parallel algorithm</dfn> is a function template described by this Technical Specification declared in namespace <code>std::experimental::parallel::v1</code> with a formal template parameter named <code>ExecutionPolicy</code>.</p>
1049
1052
1050
-
<ppara_num="3" id="parallel.general.defns.3">
1051
-
Parallel algorithms access objects indirectly accessible via their arguments by invoking the following functions:
1053
+
<ppara_num="3" id="parallel.general.defns.3">
1054
+
Parallel algorithms access objects indirectly accessible via their arguments by invoking the following functions:
1052
1055
1053
-
</p><ul>
1054
-
<li>
1055
-
All operations of the categories of the iterators that the algorithm is instantiated with.
1056
-
</li>
1056
+
</p><ul>
1057
+
<li>
1058
+
All operations of the categories of the iterators that the algorithm is instantiated with.
1059
+
</li>
1057
1060
1058
-
<li>
1059
-
Functions on those sequence elements that are required by its specification.
1060
-
</li>
1061
+
<li>
1062
+
Functions on those sequence elements that are required by its specification.
1063
+
</li>
1061
1064
1062
-
<li>
1063
-
User-provided function objects to be applied during the
1064
-
execution of the algorithm, if required by the specification.
1065
-
</li>
1065
+
<li>
1066
+
User-provided function objects to be applied during the execution of the algorithm, if required by the specification.
1067
+
</li>
1066
1068
1067
-
<ins><li>
1068
-
Operations on those function objects required by the specification.
1069
+
<ins><li>
1070
+
Operations on those function objects required by the specification.
The Parallel Algorithms Library provides overloads for each of the algorithms named in
1912
1952
Table 1, corresponding to the algorithms with the same name in the C++ Standard Algorithms Library.
1913
1953
1914
-
For each algorithm in <cxx-refto="tab.parallel.algorithms"><atitle="tab.parallel.algorithms" href="#tab.parallel.algorithms">Table 1</a></cxx-ref>, if there are overloads for
1954
+
For each algorithm in <cxx-refto="tab.parallel.algorithms"><atitle="tab.parallel.algorithms" href="#tab.parallel.algorithms">Table 2</a></cxx-ref>, if there are overloads for
1915
1955
corresponding algorithms with the same name
1916
1956
in the C++ Standard Algorithms Library,
1917
1957
the overloads shall have an additional template type parameter named
Not all algorithms in the Standard Library have counterparts in <cxx-refto="tab.parallel.algorithms"><atitle="tab.parallel.algorithms" href="#tab.parallel.algorithms">Table 1</a></cxx-ref>.
2105
+
Not all algorithms in the Standard Library have counterparts in <cxx-refto="tab.parallel.algorithms"><atitle="tab.parallel.algorithms" href="#tab.parallel.algorithms">Table 2</a></cxx-ref>.
0 commit comments