xref: /aosp_15_r20/external/cronet/third_party/libc++/src/modules/std/execution.cppm (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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
10module;
11#include <execution>
12
13export module std:execution;
14export namespace std {
15  // [execpol.type], execution policy type trait
16  using std::is_execution_policy;
17  using std::is_execution_policy_v;
18} // namespace std
19
20namespace std::execution {
21  // [execpol.seq], sequenced execution policy
22  using std::execution::sequenced_policy;
23
24  // [execpol.par], parallel execution policy
25  using std::execution::parallel_policy;
26
27  // [execpol.parunseq], parallel and unsequenced execution policy
28  using std::execution::parallel_unsequenced_policy;
29
30  // [execpol.unseq], unsequenced execution policy
31  using std::execution::unsequenced_policy;
32
33  // [execpol.objects], execution policy objects
34  using std::execution::par;
35  using std::execution::par_unseq;
36  using std::execution::seq;
37  using std::execution::unseq;
38} // namespace std::execution
39