Home
last modified time | relevance | path

Searched refs:MoveOnlyNT (Results 1 – 25 of 44) sorted by relevance

12

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dmove.pass.cpp47 struct MoveOnlyNT { struct
49 MoveOnlyNT(int v) : value(v) {} in MoveOnlyNT() function
50 MoveOnlyNT(const MoveOnlyNT &) = delete;
51 MoveOnlyNT(MoveOnlyNT &&other) : value(other.value) { other.value = -1; } in MoveOnlyNT() argument
120 using V = std::variant<int, MoveOnlyNT>; in test_move_noexcept()
139 using V = std::variant<int, MoveOnlyNT>; in test_move_ctor_sfinae()
200 std::variant<MoveOnlyNT> v(std::in_place_index<0>, 42); in test_move_ctor_basic()
202 std::variant<MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
208 std::variant<int, MoveOnlyNT> v(std::in_place_index<1>, 42); in test_move_ctor_basic()
210 std::variant<int, MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
H A Dcopy.pass.cpp47 struct MoveOnlyNT { struct
48 MoveOnlyNT(const MoveOnlyNT &) = delete;
49 MoveOnlyNT(MoveOnlyNT &&) {} in MoveOnlyNT() function
122 using V = std::variant<int, MoveOnlyNT>; in test_copy_ctor_sfinae()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dmove.pass.cpp43 struct MoveOnlyNT { struct
45 MoveOnlyNT(int v) : value(v) {} in MoveOnlyNT() argument
46 MoveOnlyNT(const MoveOnlyNT &) = delete;
47 MoveOnlyNT(MoveOnlyNT &&other) : value(other.value) { other.value = -1; } in MoveOnlyNT() function
116 using V = std::variant<int, MoveOnlyNT>; in test_move_noexcept()
135 using V = std::variant<int, MoveOnlyNT>; in test_move_ctor_sfinae()
196 std::variant<MoveOnlyNT> v(std::in_place_index<0>, 42); in test_move_ctor_basic()
198 std::variant<MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
204 std::variant<int, MoveOnlyNT> v(std::in_place_index<1>, 42); in test_move_ctor_basic()
206 std::variant<int, MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
H A Dcopy.pass.cpp43 struct MoveOnlyNT { struct
44 MoveOnlyNT(const MoveOnlyNT &) = delete;
45 MoveOnlyNT(MoveOnlyNT &&) {} in MoveOnlyNT() argument
118 using V = std::variant<int, MoveOnlyNT>; in test_copy_ctor_sfinae()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dmove.pass.cpp44 struct MoveOnlyNT { struct
46 MoveOnlyNT(int v) : value(v) {} in MoveOnlyNT() argument
47 MoveOnlyNT(const MoveOnlyNT &) = delete;
48 MoveOnlyNT(MoveOnlyNT &&other) : value(other.value) { other.value = -1; } in MoveOnlyNT() argument
117 using V = std::variant<int, MoveOnlyNT>; in test_move_noexcept()
136 using V = std::variant<int, MoveOnlyNT>; in test_move_ctor_sfinae()
197 std::variant<MoveOnlyNT> v(std::in_place_index<0>, 42); in test_move_ctor_basic()
199 std::variant<MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
205 std::variant<int, MoveOnlyNT> v(std::in_place_index<1>, 42); in test_move_ctor_basic()
207 std::variant<int, MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
H A Dcopy.pass.cpp44 struct MoveOnlyNT { struct
45 MoveOnlyNT(const MoveOnlyNT &) = delete;
46 MoveOnlyNT(MoveOnlyNT &&) {} in MoveOnlyNT() argument
119 using V = std::variant<int, MoveOnlyNT>; in test_copy_ctor_sfinae()
/dports/www/chromium-legacy/chromium-88.0.4324.182/buildtools/third_party/libc++/trunk/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dmove.pass.cpp43 struct MoveOnlyNT { struct
45 MoveOnlyNT(int v) : value(v) {} in MoveOnlyNT() argument
46 MoveOnlyNT(const MoveOnlyNT &) = delete;
47 MoveOnlyNT(MoveOnlyNT &&other) : value(other.value) { other.value = -1; } in MoveOnlyNT() argument
116 using V = std::variant<int, MoveOnlyNT>; in test_move_noexcept()
135 using V = std::variant<int, MoveOnlyNT>; in test_move_ctor_sfinae()
196 std::variant<MoveOnlyNT> v(std::in_place_index<0>, 42); in test_move_ctor_basic()
198 std::variant<MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
204 std::variant<int, MoveOnlyNT> v(std::in_place_index<1>, 42); in test_move_ctor_basic()
206 std::variant<int, MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dmove.pass.cpp47 struct MoveOnlyNT { struct
49 MoveOnlyNT(int v) : value(v) {} in MoveOnlyNT() argument
50 MoveOnlyNT(const MoveOnlyNT &) = delete;
51 MoveOnlyNT(MoveOnlyNT &&other) : value(other.value) { other.value = -1; } in MoveOnlyNT() function
120 using V = std::variant<int, MoveOnlyNT>; in test_move_noexcept()
139 using V = std::variant<int, MoveOnlyNT>; in test_move_ctor_sfinae()
200 std::variant<MoveOnlyNT> v(std::in_place_index<0>, 42); in test_move_ctor_basic()
202 std::variant<MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
208 std::variant<int, MoveOnlyNT> v(std::in_place_index<1>, 42); in test_move_ctor_basic()
210 std::variant<int, MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
/dports/devel/llvm12/llvm-project-12.0.1.src/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dmove.pass.cpp47 struct MoveOnlyNT { struct
49 MoveOnlyNT(int v) : value(v) {} in MoveOnlyNT() argument
50 MoveOnlyNT(const MoveOnlyNT &) = delete;
51 MoveOnlyNT(MoveOnlyNT &&other) : value(other.value) { other.value = -1; } in MoveOnlyNT() argument
120 using V = std::variant<int, MoveOnlyNT>; in test_move_noexcept()
139 using V = std::variant<int, MoveOnlyNT>; in test_move_ctor_sfinae()
200 std::variant<MoveOnlyNT> v(std::in_place_index<0>, 42); in test_move_ctor_basic()
202 std::variant<MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
208 std::variant<int, MoveOnlyNT> v(std::in_place_index<1>, 42); in test_move_ctor_basic()
210 std::variant<int, MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dmove.pass.cpp43 struct MoveOnlyNT { struct
45 MoveOnlyNT(int v) : value(v) {} in MoveOnlyNT() argument
46 MoveOnlyNT(const MoveOnlyNT &) = delete;
47 MoveOnlyNT(MoveOnlyNT &&other) : value(other.value) { other.value = -1; } in MoveOnlyNT() argument
116 using V = std::variant<int, MoveOnlyNT>; in test_move_noexcept()
135 using V = std::variant<int, MoveOnlyNT>; in test_move_ctor_sfinae()
196 std::variant<MoveOnlyNT> v(std::in_place_index<0>, 42); in test_move_ctor_basic()
198 std::variant<MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
204 std::variant<int, MoveOnlyNT> v(std::in_place_index<1>, 42); in test_move_ctor_basic()
206 std::variant<int, MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
/dports/devel/libc++/libcxx-10.0.1.src/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dmove.pass.cpp43 struct MoveOnlyNT { struct
45 MoveOnlyNT(int v) : value(v) {} in MoveOnlyNT() function
46 MoveOnlyNT(const MoveOnlyNT &) = delete;
47 MoveOnlyNT(MoveOnlyNT &&other) : value(other.value) { other.value = -1; } in MoveOnlyNT() function
116 using V = std::variant<int, MoveOnlyNT>; in test_move_noexcept()
135 using V = std::variant<int, MoveOnlyNT>; in test_move_ctor_sfinae()
196 std::variant<MoveOnlyNT> v(std::in_place_index<0>, 42); in test_move_ctor_basic()
198 std::variant<MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
204 std::variant<int, MoveOnlyNT> v(std::in_place_index<1>, 42); in test_move_ctor_basic()
206 std::variant<int, MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dmove.pass.cpp44 struct MoveOnlyNT { struct
46 MoveOnlyNT(int v) : value(v) {} in MoveOnlyNT() function
47 MoveOnlyNT(const MoveOnlyNT &) = delete;
48 MoveOnlyNT(MoveOnlyNT &&other) : value(other.value) { other.value = -1; } in MoveOnlyNT() argument
117 using V = std::variant<int, MoveOnlyNT>; in test_move_noexcept()
136 using V = std::variant<int, MoveOnlyNT>; in test_move_ctor_sfinae()
197 std::variant<MoveOnlyNT> v(std::in_place_index<0>, 42); in test_move_ctor_basic()
199 std::variant<MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
205 std::variant<int, MoveOnlyNT> v(std::in_place_index<1>, 42); in test_move_ctor_basic()
207 std::variant<int, MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dmove.pass.cpp47 struct MoveOnlyNT { struct
49 MoveOnlyNT(int v) : value(v) {} in MoveOnlyNT() function
50 MoveOnlyNT(const MoveOnlyNT &) = delete;
51 MoveOnlyNT(MoveOnlyNT &&other) : value(other.value) { other.value = -1; } in MoveOnlyNT() argument
120 using V = std::variant<int, MoveOnlyNT>; in test_move_noexcept()
139 using V = std::variant<int, MoveOnlyNT>; in test_move_ctor_sfinae()
200 std::variant<MoveOnlyNT> v(std::in_place_index<0>, 42); in test_move_ctor_basic()
202 std::variant<MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
208 std::variant<int, MoveOnlyNT> v(std::in_place_index<1>, 42); in test_move_ctor_basic()
210 std::variant<int, MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
/dports/devel/llvm13/llvm-project-13.0.1.src/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dmove.pass.cpp44 struct MoveOnlyNT { struct
46 MoveOnlyNT(int v) : value(v) {} in MoveOnlyNT() function
47 MoveOnlyNT(const MoveOnlyNT &) = delete;
48 MoveOnlyNT(MoveOnlyNT &&other) : value(other.value) { other.value = -1; } in MoveOnlyNT() argument
117 using V = std::variant<int, MoveOnlyNT>; in test_move_noexcept()
136 using V = std::variant<int, MoveOnlyNT>; in test_move_ctor_sfinae()
197 std::variant<MoveOnlyNT> v(std::in_place_index<0>, 42); in test_move_ctor_basic()
199 std::variant<MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
205 std::variant<int, MoveOnlyNT> v(std::in_place_index<1>, 42); in test_move_ctor_basic()
207 std::variant<int, MoveOnlyNT> v2(std::move(v)); in test_move_ctor_basic()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
H A Dmove.pass.cpp52 struct MoveOnlyNT { struct
53 MoveOnlyNT(const MoveOnlyNT &) = delete;
54 MoveOnlyNT(MoveOnlyNT &&) {} in MoveOnlyNT() argument
55 MoveOnlyNT &operator=(const MoveOnlyNT &) = delete;
56 MoveOnlyNT &operator=(MoveOnlyNT &&) = default;
164 using V = std::variant<MoveOnlyNT>; in test_move_assignment_noexcept()
191 using V = std::variant<int, MoveOnlyNT>; in test_move_assignment_sfinae()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
H A Dmove.pass.cpp53 struct MoveOnlyNT { struct
54 MoveOnlyNT(const MoveOnlyNT &) = delete;
55 MoveOnlyNT(MoveOnlyNT &&) {} in MoveOnlyNT() function
56 MoveOnlyNT &operator=(const MoveOnlyNT &) = delete;
57 MoveOnlyNT &operator=(MoveOnlyNT &&) = default;
165 using V = std::variant<MoveOnlyNT>; in test_move_assignment_noexcept()
192 using V = std::variant<int, MoveOnlyNT>; in test_move_assignment_sfinae()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
H A Dmove.pass.cpp49 struct MoveOnlyNT { struct
50 MoveOnlyNT(const MoveOnlyNT &) = delete;
51 MoveOnlyNT(MoveOnlyNT &&) {} in MoveOnlyNT() argument
52 MoveOnlyNT &operator=(const MoveOnlyNT &) = delete;
53 MoveOnlyNT &operator=(MoveOnlyNT &&) = default;
161 using V = std::variant<MoveOnlyNT>; in test_move_assignment_noexcept()
188 using V = std::variant<int, MoveOnlyNT>; in test_move_assignment_sfinae()
/dports/www/chromium-legacy/chromium-88.0.4324.182/buildtools/third_party/libc++/trunk/test/std/utilities/variant/variant.variant/variant.assign/
H A Dmove.pass.cpp53 struct MoveOnlyNT { struct
54 MoveOnlyNT(const MoveOnlyNT &) = delete;
55 MoveOnlyNT(MoveOnlyNT &&) {} in MoveOnlyNT() argument
56 MoveOnlyNT &operator=(const MoveOnlyNT &) = delete;
57 MoveOnlyNT &operator=(MoveOnlyNT &&) = default;
165 using V = std::variant<MoveOnlyNT>; in test_move_assignment_noexcept()
192 using V = std::variant<int, MoveOnlyNT>; in test_move_assignment_sfinae()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
H A Dmove.pass.cpp52 struct MoveOnlyNT { struct
53 MoveOnlyNT(const MoveOnlyNT &) = delete;
54 MoveOnlyNT(MoveOnlyNT &&) {} in MoveOnlyNT() function
55 MoveOnlyNT &operator=(const MoveOnlyNT &) = delete;
56 MoveOnlyNT &operator=(MoveOnlyNT &&) = default;
164 using V = std::variant<MoveOnlyNT>; in test_move_assignment_noexcept()
191 using V = std::variant<int, MoveOnlyNT>; in test_move_assignment_sfinae()
/dports/devel/llvm12/llvm-project-12.0.1.src/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
H A Dmove.pass.cpp52 struct MoveOnlyNT { struct
53 MoveOnlyNT(const MoveOnlyNT &) = delete;
54 MoveOnlyNT(MoveOnlyNT &&) {} in MoveOnlyNT() function
55 MoveOnlyNT &operator=(const MoveOnlyNT &) = delete;
56 MoveOnlyNT &operator=(MoveOnlyNT &&) = default;
164 using V = std::variant<MoveOnlyNT>; in test_move_assignment_noexcept()
191 using V = std::variant<int, MoveOnlyNT>; in test_move_assignment_sfinae()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
H A Dmove.pass.cpp48 struct MoveOnlyNT { struct
49 MoveOnlyNT(const MoveOnlyNT &) = delete;
50 MoveOnlyNT(MoveOnlyNT &&) {} in MoveOnlyNT() function
51 MoveOnlyNT &operator=(const MoveOnlyNT &) = delete;
52 MoveOnlyNT &operator=(MoveOnlyNT &&) = default;
160 using V = std::variant<MoveOnlyNT>; in test_move_assignment_noexcept()
187 using V = std::variant<int, MoveOnlyNT>; in test_move_assignment_sfinae()
/dports/devel/libc++/libcxx-10.0.1.src/test/std/utilities/variant/variant.variant/variant.assign/
H A Dmove.pass.cpp53 struct MoveOnlyNT { struct
54 MoveOnlyNT(const MoveOnlyNT &) = delete;
55 MoveOnlyNT(MoveOnlyNT &&) {} in MoveOnlyNT() function
56 MoveOnlyNT &operator=(const MoveOnlyNT &) = delete;
57 MoveOnlyNT &operator=(MoveOnlyNT &&) = default;
165 using V = std::variant<MoveOnlyNT>; in test_move_assignment_noexcept()
192 using V = std::variant<int, MoveOnlyNT>; in test_move_assignment_sfinae()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
H A Dmove.pass.cpp49 struct MoveOnlyNT { struct
50 MoveOnlyNT(const MoveOnlyNT &) = delete;
51 MoveOnlyNT(MoveOnlyNT &&) {} in MoveOnlyNT() function
52 MoveOnlyNT &operator=(const MoveOnlyNT &) = delete;
53 MoveOnlyNT &operator=(MoveOnlyNT &&) = default;
161 using V = std::variant<MoveOnlyNT>; in test_move_assignment_noexcept()
188 using V = std::variant<int, MoveOnlyNT>; in test_move_assignment_sfinae()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
H A Dmove.pass.cpp52 struct MoveOnlyNT { struct
53 MoveOnlyNT(const MoveOnlyNT &) = delete;
54 MoveOnlyNT(MoveOnlyNT &&) {} in MoveOnlyNT() function
55 MoveOnlyNT &operator=(const MoveOnlyNT &) = delete;
56 MoveOnlyNT &operator=(MoveOnlyNT &&) = default;
164 using V = std::variant<MoveOnlyNT>; in test_move_assignment_noexcept()
191 using V = std::variant<int, MoveOnlyNT>; in test_move_assignment_sfinae()
/dports/devel/llvm13/llvm-project-13.0.1.src/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
H A Dmove.pass.cpp49 struct MoveOnlyNT { struct
50 MoveOnlyNT(const MoveOnlyNT &) = delete;
51 MoveOnlyNT(MoveOnlyNT &&) {} in MoveOnlyNT() function
52 MoveOnlyNT &operator=(const MoveOnlyNT &) = delete;
53 MoveOnlyNT &operator=(MoveOnlyNT &&) = default;
161 using V = std::variant<MoveOnlyNT>; in test_move_assignment_noexcept()
188 using V = std::variant<int, MoveOnlyNT>; in test_move_assignment_sfinae()

12