| /llvm-project-15.0.7/libcxx/test/libcxx/ranges/range.nonprop.cache/ |
| H A D | emplace_from.pass.cpp | 27 struct NonMovable { struct 29 NonMovable() = default; argument 30 constexpr explicit NonMovable(int v) : value(v) { } in NonMovable() function 31 NonMovable(NonMovable&&) = delete; 32 NonMovable& operator=(NonMovable&&) = delete; 64 using Cache = std::ranges::__non_propagating_cache<NonMovable>; in test() 66 NonMovable& result = cache.__emplace_from([] { return NonMovable(3); }); in test()
|
| H A D | emplace.pass.cpp | 27 struct NonMovable { struct 29 NonMovable() = default; argument 30 constexpr explicit NonMovable(int v) : value(v) { } in NonMovable() argument 31 NonMovable(NonMovable&&) = delete; 32 NonMovable& operator=(NonMovable&&) = delete; 82 using Cache = std::ranges::__non_propagating_cache<NonMovable>; in test() 84 NonMovable& result = cache.__emplace(); in test()
|
| /llvm-project-15.0.7/libcxx/test/support/type_classification/ |
| H A D | moveconstructible.h | 62 struct NonMovable { struct 63 NonMovable() = default; 64 NonMovable(NonMovable&&) = delete; 65 NonMovable& operator=(NonMovable&&) = delete; argument 68 struct DerivedFromNonMovable : NonMovable {}; 71 NonMovable X;
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.monadic/ |
| H A D | or_else.pass.cpp | 20 struct NonMovable { struct 21 NonMovable() = default; 22 NonMovable(NonMovable&&) = delete; 37 static_assert(!has_or_else<std::optional<NonMovable>&, decltype(return_optional<NonMovable>)>); 38 static_assert(!has_or_else<std::optional<NonMovable>&&, decltype(return_optional<NonMovable>)>);
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/ |
| H A D | ranges.count_if.pass.cpp | 231 struct NonMovable { in test() struct 232 NonMovable(const NonMovable&) = delete; in test() 233 NonMovable(NonMovable&&) = delete; in test() 234 constexpr NonMovable(int i_) : i(i_) {} in test() function 237 bool operator==(const NonMovable&) const = default; in test() 240 NonMovable a[] = {9, 8, 4, 3}; in test() 241 …auto ret = std::ranges::count_if(a, a + 4, [](const NonMovable& i) { return i == NonMovable(8); }); in test() 245 NonMovable a[] = {9, 8, 4, 3}; in test() 246 auto ret = std::ranges::count_if(a, [](const NonMovable& i) { return i == NonMovable(8); }); in test()
|
| H A D | ranges.count.pass.cpp | 205 struct NonMovable { in test() struct 206 NonMovable(const NonMovable&) = delete; in test() 207 NonMovable(NonMovable&&) = delete; in test() 208 constexpr NonMovable(int i_) : i(i_) {} in test() argument 211 bool operator==(const NonMovable&) const = default; in test() 214 NonMovable a[] = {9, 8, 4, 3}; in test() 215 auto ret = std::ranges::count(a, a + 4, NonMovable(8)); in test() 219 NonMovable a[] = {9, 8, 4, 3}; in test() 220 auto ret = std::ranges::count(a, NonMovable(8)); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
| H A D | types.h | 49 struct NonMovable { struct 50 NonMovable() = default; 51 NonMovable(NonMovable&&) = delete;
|
| H A D | make_shared.array.unbounded.pass.cpp | 408 using Array = NonMovable[][3]; in main()
|
| H A D | make_shared.array.bounded.pass.cpp | 367 using Array = NonMovable[8][3]; in main()
|
| H A D | allocate_shared.array.bounded.pass.cpp | 394 using Array = NonMovable[8][3]; in main()
|
| H A D | allocate_shared.array.unbounded.pass.cpp | 436 using Array = NonMovable[][3]; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.moveconstructible/ |
| H A D | move_constructible.compile.pass.cpp | 76 static_assert(!std::move_constructible<NonMovable>);
|
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.object/ |
| H A D | movable.compile.pass.cpp | 100 static_assert(!std::movable<NonMovable>);
|
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.swappable/ |
| H A D | swappable_with.compile.pass.cpp | 641 static_assert(!check_swappable_with<NonMovable, NonMovable>());
|
| H A D | swappable.pass.cpp | 223 static_assert(!std::swappable<NonMovable>);
|