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