xref: /freebsd/contrib/llvm-project/libcxx/modules/std/execution.inc (revision 6580f5c38dd5b01aeeaed16b370f1a12423437f0)
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