| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.object/ |
| H A D | movable.compile.pass.cpp | 34 static_assert(std::movable<int>); 35 static_assert(std::movable<int volatile>); 36 static_assert(std::movable<int*>); 37 static_assert(std::movable<int const*>); 40 static_assert(std::movable<int (*)()>); 43 static_assert(std::movable<S>); 44 static_assert(std::movable<int S::*>); 80 static_assert(!std::movable<int&>); 84 static_assert(!std::movable<int&&>); 88 static_assert(!std::movable<int()>); [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.req/range.view/ |
| H A D | view.compile.pass.cpp | 32 static_assert(!std::movable<NotMoveable>); 46 static_assert(std::movable<NotDefaultInit>); 62 static_assert(std::movable<NotExplicitlyEnabled>); 74 static_assert(std::movable<NotARange>); 90 static_assert(std::movable<View>);
|
| H A D | view.subsumption.compile.pass.cpp | 42 template <std::movable>
|
| /llvm-project-15.0.7/libcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/ |
| H A D | types.h | 33 static_assert(!std::movable<CopyConstructible>); 82 static_assert( std::movable<Copyable>); 99 static_assert(!std::movable<NothrowCopyConstructible>); 121 static_assert( std::movable<MovableNothrowCopyConstructible>);
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | overload-template.cpp | 3 enum copy_traits { movable = 1 }; enumerator 12 static constexpr int traits = copy_traits::movable;
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/ |
| H A D | constructor.pass.cpp | 58 static_assert(std::movable<OwningView>); in test() 81 static_assert(std::movable<OwningView>); in test() 100 static_assert(std::movable<OwningView>); in test()
|
| /llvm-project-15.0.7/libcxx/include/__ranges/ |
| H A D | copyable_box.h | 76 __copyable_box& operator=(__copyable_box&&) requires movable<_Tp> = default; 114 concept __doesnt_need_empty_state_for_move = movable<_Tp> || is_nothrow_move_constructible_v<_Tp>; 141 … _LIBCPP_HIDE_FROM_ABI __copyable_box& operator=(__copyable_box&&) requires movable<_Tp> = default;
|
| H A D | concepts.h | 88 movable<_Tp> && 134 (movable<remove_reference_t<_Tp>> && !__is_std_initializer_list<remove_cvref_t<_Tp>>))));
|
| H A D | owning_view.h | 35 requires movable<_Rp> && (!__is_std_initializer_list<remove_cvref_t<_Rp>>)
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.req/range.refinements/ |
| H A D | viewable_range.compile.pass.cpp | 91 static_assert( std::movable<T5>); 92 static_assert(!std::movable<const T5>); 105 static_assert( std::movable<std::initializer_list<int>>); 119 static_assert(!std::movable<T6>);
|
| /llvm-project-15.0.7/libcxx/include/__concepts/ |
| H A D | movable.h | 29 concept movable = variable
|
| H A D | copyable.h | 30 movable<_Tp> &&
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/ |
| H A D | sentinel_for.compile.pass.cpp | 53 static_assert(std::movable<move_only_iterator> && !std::copyable<move_only_iterator> &&
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | concepts | 96 concept movable = see below; 147 #include <__concepts/movable.h>
|
| H A D | CMakeLists.txt | 251 __concepts/movable.h
|
| H A D | module.modulemap.in | 563 module movable { private header "__concepts/movable.h" }
|
| /llvm-project-15.0.7/clang/test/CodeGenObjCXX/ |
| H A D | property-lvalue-lambda.mm | 34 // FIXME: This asserts if the lambda isn't trivially copy/movable.
|
| /llvm-project-15.0.7/libcxx/include/__iterator/ |
| H A D | concepts.h | 72 movable<_Ip> && 253 movable<iter_value_t<_In>> &&
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | almost_satisfies_types.h | 143 static_assert(!std::movable<WeaklyIncrementableNotMovable>);
|
| /llvm-project-15.0.7/libcxx/docs/Status/ |
| H A D | Cxx14Issues.csv | 135 "`2315 <https://wg21.link/lwg2315>`__","weak_ptr should be movable","Issaquah","|Complete|"
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/ |
| H A D | BUILD.gn | 312 "__concepts/movable.h",
|