Home
last modified time | relevance | path

Searched refs:NotMoveConstructible (Results 1 – 10 of 10) sorted by relevance

/llvm-project/libcxx/test/std/utilities/utility/utility.swap/
H A Dswap_array.pass.cpp39 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 Dswap.pass.cpp42 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 Dassign.unexpected.move.pass.cpp37 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 Dassign.move.pass.cpp44 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 Dassign.unexpected.move.pass.cpp37 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 Dassign.move.pass.cpp36 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 Dfree.swap.pass.cpp32 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 Dmember.swap.pass.cpp41 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 Dfree.swap.pass.cpp35 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 Dmember.swap.pass.cpp47 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