// -*- C++ -*- //===-- partial_sort.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 #include "support/pstl_test_config.h" #include <cmath> #include <execution> #include <algorithm> #include "support/utils.h" usingnamespaceTestUtils; static std::atomic<int32_t> count_val; static std::atomic<int32_t> count_comp; template <typename T> struct Num { … }; struct test_brick_partial_sort { … }; template <typename T, typename Compare> void test_partial_sort(Compare compare) { … } template <typename T> struct test_non_const { … }; int main() { … }