//===----------------------------------------------------------------------===// // // 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 && !stdlib=libc++ // ADDITIONAL_COMPILE_FLAGS(has-fconstexpr-steps): -fconstexpr-steps=9000000 // // template iterator emplace(const_iterator pos, Args&&... args); #include #include #include #include #include #include "asan_testing.h" #include "common.h" #include "min_allocator.h" #include "MoveOnly.h" #include "test_allocator.h" #include "test_macros.h" template struct has_moved_from_sentinel_value : std::false_type {}; template <> struct has_moved_from_sentinel_value : std::true_type {}; template