// -*- C++ -*- //===-- swap_ranges.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 <iterator> #include <execution> #include <algorithm> #include "support/utils.h" usingnamespaceTestUtils; template <typename T> struct wrapper { … }; template <typename T> void swap(wrapper<T>& a, wrapper<T>& b) { … } template <typename T> struct check_swap { … }; check_swap<wrapper<T>>; struct test_one_policy { … }; template <typename T> void test() { … } int main() { … }