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
<p><code>is_execution_policy</code> can be used to detect parallel execution policies for the purpose of excluding function signatures from otherwise ambiguous overload resolution participation.</p>
@@ -108,13 +113,17 @@ <h1>Execution policy type trait</h1>
108
113
<h1>Sequential execution policy</h1>
109
114
110
115
<pre>
116
+
<del2>
111
117
namespace std {
112
118
namespace experimental {
113
119
namespace parallel<ins2>_v1</ins2> {
120
+
</del2>
114
121
class sequential_execution_policy{ <ins2><i>unspecified</i></ins2> };
122
+
<del2>
115
123
}
116
124
}
117
125
}
126
+
</del2>
118
127
</pre>
119
128
120
129
<p>The class <code>sequential_execution_policy</code> is an execution policy type used as a unique type to disambiguate parallel algorithm overloading and require that a parallel algorithm's execution may not be parallelized.</p>
class parallel_execution_policy{ <ins2><i>unspecified</i></ins2> };
142
+
<del2>
131
143
}
132
144
}
133
145
}
146
+
</del2>
134
147
</pre>
135
148
136
149
<p>The class <code>parallel_execution_policy</code> is an execution policy type used as a unique type to disambiguate parallel algorithm overloading and indicate that a parallel algorithm's execution may be parallelized.</p>
class <del2>vector_execution_policy</del2><ins2>parallel_vector_execution_policy</ins2>{ <ins2><i>unspecified</i></ins2> };
162
+
<del2>
147
163
}
148
164
}
149
165
}
166
+
</del2>
150
167
</pre>
151
168
152
169
<p>The class <code>class <del2>vector_execution_policy</del2><ins2>parallel_vector_execution_policy</ins2></code> is an execution policy type used as a unique type to disambiguate parallel algorithm overloading and indicate that a parallel algorithm's execution may be vectorized.</p>
<p>The header <code><<ins2>experimental/</ins2>execution_policy></code> declares a global object associated with each type of execution policy defined by this Technical Specification.</p>
0 commit comments