// -*- C++ -*- //===-- minmax_element.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 <execution> #include <algorithm> #include <set> #include <cmath> #include "support/utils.h" usingnamespaceTestUtils; struct check_minelement { … }; struct check_maxelement { … }; struct check_minmaxelement { … }; template <typename T> struct sequence_wrapper { … }; template <typename T> void test_by_type(std::size_t n) { … } // should provide minimal requirements only struct OnlyLessCompare { … }; template <typename T> struct test_non_const { … }; int main() { … }