1// -*- C++ -*-
2//===-- algorithm ---------------------------------------------------------===//
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#ifndef _TEST_SUPPORT_STDLIB_ALGORITHM
11#define _TEST_SUPPORT_STDLIB_ALGORITHM
12
13#include_next <algorithm>
14
15#include <pstl/internal/pstl_config.h>
16
17#if _PSTL_EXECUTION_POLICIES_DEFINED
18// If <execution> has already been included, pull in implementations
19# include <pstl/internal/glue_algorithm_impl.h>
20#else
21// Otherwise just pull in forward declarations
22# include <pstl/internal/glue_algorithm_defs.h>
23# define _PSTL_ALGORITHM_FORWARD_DECLARED 1
24#endif
25
26#endif /* _TEST_SUPPORT_STDLIB_ALGORITHM */
27

source code of pstl/test/support/stdlib/algorithm