// -*- C++ -*- //===-- partial_sort_copy.pass.cpp ----------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // UNSUPPORTED: c++03, c++11, c++14 // Tests for partial_sort_copy #include "support/pstl_test_config.h" #include <cmath> #include <execution> #include <algorithm> #include "support/utils.h" usingnamespaceTestUtils; template <typename T> struct Num { … }; template <typename RandomAccessIterator> struct test_one_policy { … }; template <typename T, typename Compare> void test_partial_sort_copy(Compare compare) { … } template <typename T> struct test_non_const { … }; int main() { … }