2 //===----------------------------------------------------------------------===//
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 #ifdef _LIBCPP_ENABLE_EXPERIMENTAL
11 export namespace std {
12 // [execpol.type], execution policy type trait
13 using std::is_execution_policy;
14 using std::is_execution_policy_v;
17 export namespace std::execution {
18 // [execpol.seq], sequenced execution policy
19 using std::execution::sequenced_policy;
21 // [execpol.par], parallel execution policy
22 using std::execution::parallel_policy;
24 // [execpol.parunseq], parallel and unsequenced execution policy
25 using std::execution::parallel_unsequenced_policy;
27 // [execpol.unseq], unsequenced execution policy
28 using std::execution::unsequenced_policy;
30 // [execpol.objects], execution policy objects
31 using std::execution::par;
32 using std::execution::par_unseq;
33 using std::execution::seq;
34 using std::execution::unseq;
35 } // namespace std::execution
36 #endif // _LIBCPP_ENABLE_EXPERIMENTAL