git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@225541 91177308-0d34-0410-b5e6-96231b3b80d8
@@ -13,6 +13,7 @@
#include <array>
#include <memory>
+#include <utility>
#include <cassert>
int main()
@@ -12,6 +12,7 @@
// iterator erase(const_iterator position);
#include <vector>
+#include <iterator>
#include "min_allocator.h"
// iterator erase(const_iterator first, const_iterator last);
// void swap(vector<T,Alloc>& x, vector<T,Alloc>& y);
#include "test_allocator.h"
@@ -10,6 +10,7 @@
// test <stdint.h>
#include <stdint.h>
+#include <cstddef>
#include <csignal>
#include <cwctype>
#include <climits>
@@ -10,6 +10,8 @@
// test <cstdint>
#include <cstdint>
+#include <cwchar>
// assign(basic_string<charT,traits>&& str);
#include <string>
@@ -18,6 +18,7 @@
// operator+(charT lhs, basic_string<charT,traits,Allocator>&& rhs);
// operator+(const charT* lhs, basic_string<charT,traits,Allocator>&& rhs);
// operator+(basic_string<charT,traits,Allocator>&& lhs, charT rhs);
// operator+(basic_string<charT,traits,Allocator>&& lhs, const charT* rhs);
@@ -30,6 +30,7 @@
// const basic_string<charT,traits,Allocator>&& rhs);
#include <cstddef>
#include <type_traits>
#include <cstdlib>
#include <new>
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
#include <scoped_allocator>
+#include <memory>
#if __cplusplus >= 201103L
@@ -17,6 +17,7 @@
#define DELETER_H
template <class T>
@@ -14,6 +14,7 @@
// Test unique_ptr move assignment
// Can't copy from lvalue
// deleter is a reference, not even that.
#include "../deleter.h"
// Can't copy from const lvalue
// Test unique_ptr move ctor
// test move ctor. Can't copy from const lvalue
// Test unique_ptr converting move assignment
// Can't assign from lvalue
@@ -16,6 +16,7 @@
// Can't assign from const lvalue
struct A
// test converting move assignment with reference deleters
#include "../../deleter.h"
// Do not convert from an array unique_ptr
// Test unique_ptr(pointer) ctor
// template <class U> explicit unique_ptr(auto_ptr<U>&);
// test move ctor. Should only require a MoveConstructible deleter, or if
// Test unique_ptr converting move ctor
// Can't construct from lvalue
// test converting move ctor. Should only require a MoveConstructible deleter, or if
// Explicit version
#include <tuple>
struct B
// tuple& operator=(tuple&& u);
#include "../MoveOnly.h"
// template <class... UTypes> tuple(const tuple<UTypes...>& u);
// tuple(tuple&& u);
// tuple<Types&&...> forward_as_tuple(Types&&... t);
+#include <type_traits>
template <class Tuple>
// get(tuple<Types...>&& t);