-
Notifications
You must be signed in to change notification settings - Fork 20
/
general.html
117 lines (106 loc) · 4.15 KB
/
general.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<cxx-clause id="parallel.general">
<h1>General</h1>
<cxx-section id="parallel.general.namespaces">
<h1>Namespaces and headers</h1>
<p>Since the extensions described in this Technical Specification are
experimental and not part of the C++ Standard Library, they should not be
declared directly within namespace <code>std</code>. Unless otherwise specified, all
components described in this Technical Specification are declared in namespace
<code>std::experimental::parallel::v2</code>.</p>
<cxx-note>
Once standardized, the components described by this Technical Specification are expected to be promoted to namespace <code>std</code>.
</cxx-note>
<p>Unless otherwise specified, references to such entities described in this
Technical Specification are assumed to be qualified with
<code>std::experimental::parallel::v2</code>, and references to entities described in the C++
Standard Library are assumed to be qualified with <code>std::</code>.</p>
<p>Extensions that are expected to eventually be added to an existing header
<code><meow></code> are provided inside the <code><experimental/meow></code> header,
which shall include the standard contents of <code><meow></code> as if by</p>
<pre>
<code> #include <meow></code>
</pre>
</cxx-section>
<cxx-section id="parallel.general.features">
<h1>Feature-testing recommendations</h1>
<p>An implementation that provides support for this Technical Specification shall define the feature test macro(s) in Table 1.</p>
<del>
<table is="cxx-table" class="column-rules">
<caption>Feature Test Macro(s)</caption>
<thead>
<tr>
<th>Name</th>
<th>Value</th>
<th>Header</th>
</tr>
<tr>
<td><code>__cpp_lib_experimental_parallel_algorithm</code></td>
<td>201505</td>
<td>
<code><experimental/algorithm></code><br>
<code><experimental/exception_list></code><br>
<code><experimental/execution_policy></code><br>
<code><experimental/numeric></code>
</td>
</tr>
<tr>
<td><code>__cpp_lib_experimental_parallel_task_block</code></td>
<td>201510</td>
<td>
<code><experimental/task_block></code><br>
</td>
</tr>
</thead>
</table>
</del>
<ins>
<table is="cxx-table" class="column-rules">
<caption>Feature Test Macro(s)</caption>
<thead>
<tr>
<th>Doc. No.</th>
<th>Title</th>
<th>Primary Section</th>
<th>Macro Name</th>
<th>Value</th>
<th>Header</th>
</tr>
<tr>
<td>N4505</td>
<td>Working Draft, Technical Specification for C++ Extensions for Parallelism</td>
<td><cxx-ref to="parallel.alg"</cxx-ref></td>
<td><code>__cpp_lib_experimental_parallel_algorithm</code></td>
<td>201505</td>
<td>
<code><experimental/algorithm></code><br>
<code><experimental/exception_list></code><br>
<code><experimental/execution_policy></code><br>
<code><experimental/numeric></code>
</td>
</tr>
<tr>
<td>P0155R0</td>
<td>Task Block R5</td>
<td><cxx-ref to="parallel.task_block"></cxx-ref></td>
<td><code>__cpp_lib_experimental_parallel_task_block</code></td>
<td>201510</td>
<td>
<code><experimental/task_block></code><br>
</td>
</tr>
<tr>
<td>P0076R4</td>
<td>Vector and Wavefront Policies</td>
<td><cxx-ref to="parallel.execpol.unseq"</cxx-ref>, <cxx-ref to="parallel.execpol.vec"</cxx-ref></td>
<td><code>__cpp_lib_experimental_execution_vector_policy</code></td>
<td>201707</td>
<td>
<code><experimental/algorithm></code><br>
<code><experimental/execution></code><br>
</td>
</tr>
</thead>
</table>
<ins>
</cxx-section>
</cxx-clause>