/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | alloc_const_Types.pass.cpp | 31 assert(!alloc_first::allocator_constructed); in main() 32 std::tuple<alloc_first> t(std::allocator_arg, A1<int>(5), alloc_first(3)); in main() 33 assert(alloc_first::allocator_constructed); in main() 34 assert(std::get<0>(t) == alloc_first(3)); in main() 43 alloc_first::allocator_constructed = false; in main() 44 std::tuple<int, alloc_first> t(std::allocator_arg, A1<int>(5), in main() 45 10, alloc_first(15)); in main() 47 assert(alloc_first::allocator_constructed); in main() 48 assert(std::get<1>(t) == alloc_first(15)); in main() 51 alloc_first::allocator_constructed = false; in main() [all …]
|
D | alloc.pass.cpp | 39 assert(!alloc_first::allocator_constructed); in main() 40 std::tuple<alloc_first> t(std::allocator_arg, A1<int>(5)); in main() 41 assert(alloc_first::allocator_constructed); in main() 42 assert(std::get<0>(t) == alloc_first()); in main() 51 alloc_first::allocator_constructed = false; in main() 52 std::tuple<DefaultOnly, alloc_first> t(std::allocator_arg, A1<int>(5)); in main() 54 assert(alloc_first::allocator_constructed); in main() 55 assert(std::get<1>(t) == alloc_first()); in main() 58 alloc_first::allocator_constructed = false; in main() 60 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg, in main() [all …]
|
D | alloc_convert_copy.pass.cpp | 35 typedef std::tuple<alloc_first> T1; in main() 37 alloc_first::allocator_constructed = false; in main() 39 assert(alloc_first::allocator_constructed); in main() 44 typedef std::tuple<alloc_first, alloc_last> T1; in main() 46 alloc_first::allocator_constructed = false; in main() 49 assert(alloc_first::allocator_constructed); in main() 56 typedef std::tuple<int, alloc_first, alloc_last> T1; in main() 58 alloc_first::allocator_constructed = false; in main() 61 assert(alloc_first::allocator_constructed); in main()
|
D | alloc_copy.pass.cpp | 38 typedef std::tuple<alloc_first> T; in main() 40 alloc_first::allocator_constructed = false; in main() 42 assert(alloc_first::allocator_constructed); in main() 54 typedef std::tuple<alloc_first, alloc_last> T; in main() 56 alloc_first::allocator_constructed = false; in main() 59 assert(alloc_first::allocator_constructed); in main() 65 typedef std::tuple<int, alloc_first, alloc_last> T; in main() 67 alloc_first::allocator_constructed = false; in main() 70 assert(alloc_first::allocator_constructed); in main()
|
D | alloc_move.pass.cpp | 39 typedef std::tuple<alloc_first> T; in main() 41 alloc_first::allocator_constructed = false; in main() 43 assert(alloc_first::allocator_constructed); in main() 55 typedef std::tuple<MoveOnly, alloc_first> T; in main() 57 alloc_first::allocator_constructed = false; in main() 59 assert(alloc_first::allocator_constructed); in main() 64 typedef std::tuple<MoveOnly, alloc_first, alloc_last> T; in main() 66 alloc_first::allocator_constructed = false; in main() 69 assert(alloc_first::allocator_constructed); in main()
|
D | alloc_convert_move.pass.cpp | 45 typedef std::tuple<alloc_first> T1; in main() 47 alloc_first::allocator_constructed = false; in main() 49 assert(alloc_first::allocator_constructed); in main() 61 typedef std::tuple<alloc_first, std::unique_ptr<B>> T1; in main() 63 alloc_first::allocator_constructed = false; in main() 65 assert(alloc_first::allocator_constructed); in main() 71 typedef std::tuple<alloc_last, alloc_first, std::unique_ptr<B>> T1; in main() 73 alloc_first::allocator_constructed = false; in main() 76 assert(alloc_first::allocator_constructed); in main()
|
D | alloc_const_pair.pass.cpp | 37 typedef std::tuple<alloc_first, double> T1; in main() 39 alloc_first::allocator_constructed = false; in main() 41 assert(alloc_first::allocator_constructed); in main() 47 typedef std::tuple<alloc_first, alloc_last> T1; in main() 49 alloc_first::allocator_constructed = false; in main() 52 assert(alloc_first::allocator_constructed); in main()
|
D | alloc_move_pair.pass.cpp | 45 typedef std::tuple<alloc_first, std::unique_ptr<B>> T1; in main() 47 alloc_first::allocator_constructed = false; in main() 49 assert(alloc_first::allocator_constructed); in main()
|
D | alloc_UTypes.pass.cpp | 46 alloc_first::allocator_constructed = false; in main() 48 std::tuple<int, alloc_first, alloc_last> t(std::allocator_arg, in main() 51 assert(alloc_first::allocator_constructed); in main() 52 assert(std::get<1>(t) == alloc_first(2)); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/ |
D | alloc_first.h | 17 struct alloc_first struct 25 alloc_first() : data_(0) {} in alloc_first() argument 26 alloc_first(int d) : data_(d) {} in alloc_first() function 27 alloc_first(std::allocator_arg_t, const A1<int>& a) in alloc_first() function 34 alloc_first(std::allocator_arg_t, const A1<int>& a, int d) in alloc_first() function 41 alloc_first(std::allocator_arg_t, const A1<int>& a, const alloc_first& d) in alloc_first() argument 48 ~alloc_first() {data_ = -1;} in ~alloc_first() argument 50 friend bool operator==(const alloc_first& x, const alloc_first& y) 52 friend bool operator< (const alloc_first& x, const alloc_first& y) 56 bool alloc_first::allocator_constructed = false;
|