• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//  (C) Copyright John Maddock 2020
2
3//  Use, modification and distribution are subject to the
4//  Boost Software License, Version 1.0. (See accompanying file
5//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7//  See http://www.boost.org/libs/config for more information.
8
9//  MACRO:         BOOST_NO_CXX17_HDR_EXECUTION
10//  TITLE:         C++17 header <execution> unavailable
11//  DESCRIPTION:   The standard library does not supply C++17 header <execution>
12
13#include <execution>
14
15namespace boost_no_cxx17_hdr_execution {
16
17int test()
18{
19  using std::is_execution_policy;
20  using std::execution::sequenced_policy;
21  using std::execution::parallel_policy;
22  using std::execution::parallel_unsequenced_policy;
23  using std::execution::seq;
24  using std::execution::par;
25  using std::execution::par_unseq;
26  return 0;
27}
28
29}
30