/llvm-project/libcxx/test/std/utilities/utility/utility.swap/ |
H A D | swap_array.pass.cpp | 39 struct NotMoveConstructible { struct 40 NotMoveConstructible() {} in NotMoveConstructible() argument 41 NotMoveConstructible& operator=(NotMoveConstructible&&) { return *this; } in operator =() argument 43 NotMoveConstructible(NotMoveConstructible&&); 105 using NA = NotMoveConstructible[42]; in main()
|
H A D | swap.pass.cpp | 42 struct NotMoveConstructible { struct 43 NotMoveConstructible& operator=(NotMoveConstructible&&) { return *this; } in operator =() argument 45 NotMoveConstructible(NotMoveConstructible&&); 102 static_assert(!can_swap<NotMoveConstructible&>(), ""); in main()
|
/llvm-project/libcxx/test/std/utilities/expected/expected.expected/assign/ |
H A D | assign.unexpected.move.pass.cpp | 37 struct NotMoveConstructible { 38 NotMoveConstructible(NotMoveConstructible&&) = delete; 39 NotMoveConstructible& operator=(NotMoveConstructible&&) = default; 59 !std::is_assignable_v<std::expected<int, NotMoveConstructible>&, std::unexpected<NotMoveConstructible>&&>); 36 struct NotMoveConstructible { global() struct
|
H A D | assign.move.pass.cpp | 44 struct NotMoveConstructible { 45 NotMoveConstructible(NotMoveConstructible&&) = delete; 46 NotMoveConstructible& operator=(NotMoveConstructible&&) = default; 66 static_assert(!std::is_move_assignable_v<std::expected<NotMoveConstructible, int>>); 72 static_assert(!std::is_move_assignable_v<std::expected<int, NotMoveConstructible>>); 43 struct NotMoveConstructible { global() struct
|
/llvm-project/libcxx/test/std/utilities/expected/expected.void/assign/ |
H A D | assign.unexpected.move.pass.cpp | 37 struct NotMoveConstructible { 38 NotMoveConstructible(NotMoveConstructible&&) = delete; 39 NotMoveConstructible& operator=(NotMoveConstructible&&) = default; 59 !std::is_assignable_v<std::expected<int, NotMoveConstructible>&, std::unexpected<NotMoveConstructible>&&>); 36 struct NotMoveConstructible { global() struct
|
H A D | assign.move.pass.cpp | 36 struct NotMoveConstructible { 37 NotMoveConstructible(NotMoveConstructible&&) = delete; 38 NotMoveConstructible& operator=(NotMoveConstructible&&) = default; 53 static_assert(!std::is_move_assignable_v<std::expected<void, NotMoveConstructible>>); 35 struct NotMoveConstructible { global() struct
|
/llvm-project/libcxx/test/std/utilities/expected/expected.void/swap/ |
H A D | free.swap.pass.cpp | 32 struct NotMoveConstructible { 33 NotMoveConstructible(NotMoveConstructible&&) = delete; in swap() argument 34 friend void swap(NotMoveConstructible&, NotMoveConstructible&) {} 38 static_assert(!std::is_swappable_v<std::expected<void, NotMoveConstructible>>); 31 struct NotMoveConstructible { global() struct
|
H A D | member.swap.pass.cpp | 41 struct NotMoveConstructible { 42 NotMoveConstructible(NotMoveConstructible&&) = delete; in swap() argument 43 friend void swap(NotMoveConstructible&, NotMoveConstructible&) {} 47 static_assert(!HasMemberSwap<NotMoveConstructible>); 40 struct NotMoveConstructible { global() struct
|
/llvm-project/libcxx/test/std/utilities/expected/expected.expected/swap/ |
H A D | free.swap.pass.cpp | 35 struct NotMoveConstructible { 36 NotMoveConstructible(NotMoveConstructible&&) = delete; in swap() argument 37 friend void swap(NotMoveConstructible&, NotMoveConstructible&) {} 41 static_assert(!std::is_swappable_v<std::expected<NotMoveConstructible, int>>); 44 static_assert(!std::is_swappable_v<std::expected<int, NotMoveConstructible>>); 34 struct NotMoveConstructible { global() struct
|
H A D | member.swap.pass.cpp | 47 struct NotMoveConstructible { 48 NotMoveConstructible(NotMoveConstructible&&) = delete; in swap() argument 49 friend void swap(NotMoveConstructible&, NotMoveConstructible&) {} 53 static_assert(!HasMemberSwap<NotMoveConstructible, int>); 56 static_assert(!HasMemberSwap<int, NotMoveConstructible>); 46 struct NotMoveConstructible { global() struct
|