Home
last modified time | relevance | path

Searched refs:movable (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.object/
H A Dmovable.compile.pass.cpp34 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 Dview.compile.pass.cpp32 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 Dview.subsumption.compile.pass.cpp42 template <std::movable>
/llvm-project-15.0.7/libcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/
H A Dtypes.h33 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 Doverload-template.cpp3 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 Dconstructor.pass.cpp58 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 Dcopyable_box.h76 __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 Dconcepts.h88 movable<_Tp> &&
134 (movable<remove_reference_t<_Tp>> && !__is_std_initializer_list<remove_cvref_t<_Tp>>))));
H A Downing_view.h35 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 Dviewable_range.compile.pass.cpp91 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 Dmovable.h29 concept movable = variable
H A Dcopyable.h30 movable<_Tp> &&
/llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.sentinel/
H A Dsentinel_for.compile.pass.cpp53 static_assert(std::movable<move_only_iterator> && !std::copyable<move_only_iterator> &&
/llvm-project-15.0.7/libcxx/include/
H A Dconcepts96 concept movable = see below;
147 #include <__concepts/movable.h>
H A DCMakeLists.txt251 __concepts/movable.h
H A Dmodule.modulemap.in563 module movable { private header "__concepts/movable.h" }
/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Dproperty-lvalue-lambda.mm34 // FIXME: This asserts if the lambda isn't trivially copy/movable.
/llvm-project-15.0.7/libcxx/include/__iterator/
H A Dconcepts.h72 movable<_Ip> &&
253 movable<iter_value_t<_In>> &&
/llvm-project-15.0.7/libcxx/test/support/
H A Dalmost_satisfies_types.h143 static_assert(!std::movable<WeaklyIncrementableNotMovable>);
/llvm-project-15.0.7/libcxx/docs/Status/
H A DCxx14Issues.csv135 "`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 DBUILD.gn312 "__concepts/movable.h",