// -*- C++ -*- //===-- uninitialized_copy_move.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 uninitialized_copy, uninitialized_copy_n, uninitialized_move, uninitialized_move_n #include "support/pstl_test_config.h" #include <execution> #include <memory> #include "support/utils.h" usingnamespaceTestUtils; // function of checking correctness for uninitialized.construct.value template <typename InputIterator, typename OutputIterator, typename Size> bool IsCheckValueCorrectness(InputIterator first1, OutputIterator first2, Size n) { … } struct test_uninitialized_copy_move { … }; template <typename T> void test_uninitialized_copy_move_by_type() { … } int main() { … }