xref: /freebsd/contrib/llvm-project/libcxx/modules/std/execution.inc (revision 5f757f3ff9144b609b3c433dfd370cc6bdc191ad)
1// -*- C++ -*-
2//===----------------------------------------------------------------------===//
3//
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
7//
8//===----------------------------------------------------------------------===//
9
10#ifdef _LIBCPP_ENABLE_EXPERIMENTAL
11export namespace std {
12  // [execpol.type], execution policy type trait
13  using std::is_execution_policy;
14  using std::is_execution_policy_v;
15} // namespace std
16
17export namespace std::execution {
18  // [execpol.seq], sequenced execution policy
19  using std::execution::sequenced_policy;
20
21  // [execpol.par], parallel execution policy
22  using std::execution::parallel_policy;
23
24  // [execpol.parunseq], parallel and unsequenced execution policy
25  using std::execution::parallel_unsequenced_policy;
26
27  // [execpol.unseq], unsequenced execution policy
28  using std::execution::unsequenced_policy;
29
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
37