// -*- C++ -*- //===-- uninitialized_construct.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_default_construct, uninitialized_default_construct_n, // uninitialized_value_construct, uninitialized_value_construct_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 T, typename Iterator> bool IsCheckValueCorrectness(Iterator begin, Iterator end) { … } struct test_uninit_construct { … }; template <typename T> void test_uninit_construct_by_type() { … } int main() { … }