| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.commonref/ |
| H A D | common_reference.compile.pass.cpp | 21 static_assert(std::common_reference_with<T, U&>); in CheckCommonReferenceWith() 22 static_assert(std::common_reference_with<T, const U&>); in CheckCommonReferenceWith() 25 static_assert(std::common_reference_with<T, U&&>); in CheckCommonReferenceWith() 26 static_assert(std::common_reference_with<T, const U&&>); in CheckCommonReferenceWith() 29 static_assert(std::common_reference_with<T&, U&&>); in CheckCommonReferenceWith() 47 return std::common_reference_with<T, U>; in CheckCommonReferenceWith() 52 static_assert(std::common_reference_with<void, void>); 125 static_assert(!std::common_reference_with<T, int>); 126 static_assert(!std::common_reference_with<int, T>); 129 static_assert(!std::common_reference_with<T*, int*>); [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/ |
| H A D | indirectly_readable.compile.pass.cpp | 91 static_assert(!std::common_reference_with<iter_ref1&, iter_ref1&&>); 122 static_assert(std::common_reference_with<iter_ref3&&, iter_rvalue_ref&&>); 149 static_assert(std::common_reference_with<iter_ref4&&, iter_rvalue_ref&&>); 150 static_assert(!std::common_reference_with<iter_ref4 const&, iter_rvalue_ref&&>);
|
| /llvm-project-15.0.7/libcxx/include/__concepts/ |
| H A D | common_with.h | 34 common_reference_with< 37 common_reference_with<
|
| H A D | common_reference_with.h | 28 concept common_reference_with = variable
|
| H A D | assignable.h | 31 common_reference_with<__make_const_lvalue_ref<_Lhs>, __make_const_lvalue_ref<_Rhs>> &&
|
| H A D | equality_comparable.h | 42 common_reference_with<__make_const_lvalue_ref<_Tp>, __make_const_lvalue_ref<_Up>> &&
|
| H A D | swappable.h | 104 common_reference_with<_Tp, _Up> &&
|
| /llvm-project-15.0.7/libcxx/include/__iterator/ |
| H A D | concepts.h | 41 common_reference_with<iter_reference_t<_In>&&, iter_value_t<_In>&> && 42 common_reference_with<iter_reference_t<_In>&&, iter_rvalue_reference_t<_In>&&> && 43 common_reference_with<iter_rvalue_reference_t<_In>&&, const iter_value_t<_In>&>; 187 common_reference_with< 198 common_reference_with<
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/alg.req.ind.move/ |
| H A D | indirectly_movable_storable.compile.pass.cpp | 123 static_assert(std::common_reference_with<NotConstructibleFromRefIn::ValueType&, 166 static_assert(std::common_reference_with<NotAssignableFromRefIn::ValueType&, NotAssignableFromRefIn…
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | concepts | 29 // [concept.commonref], concept common_reference_with 31 concept common_reference_with = see below; 137 #include <__concepts/common_reference_with.h>
|
| H A D | CMakeLists.txt | 241 __concepts/common_reference_with.h
|
| H A D | module.modulemap.in | 553 module common_reference_with { private header "__concepts/common_reference_with.h" }
|
| /llvm-project-15.0.7/libcxx/include/__compare/ |
| H A D | three_way_comparable.h | 45 common_reference_with<__make_const_lvalue_ref<_Tp>, __make_const_lvalue_ref<_Up>> &&
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/alg.req.ind.copy/ |
| H A D | indirectly_copyable_storable.compile.pass.cpp | 258 static_assert(std::common_reference_with<NotConstructibleFromRefIn::ValueType&, 300 static_assert(std::common_reference_with<NotAssignableFromRefIn::ValueType&, NotAssignableFromRefIn…
|
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.swappable/ |
| H A D | swappable_with.compile.pass.cpp | 269 static_assert(std::common_reference_with<one_way_swappable_with_s1, s1>); 277 std::common_reference_with<one_way_swappable_with_s1_other_way, s1>); 289 std::common_reference_with<can_swap_with_s1_but_not_swappable, s1>);
|
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.compare/concept.equalitycomparable/ |
| H A D | equality_comparable_with.compile.pass.cpp | 1113 std::common_reference_with<one_way_eq const&, explicit_operators const&>); 1119 std::common_reference_with<one_way_ne const&, explicit_operators const&>);
|
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/ |
| H A D | totally_ordered_with.pass.cpp | 1073 std::common_reference_with<one_way_eq const&, explicit_operators const&> && 1078 std::common_reference_with<one_way_ne const&, explicit_operators const&> &&
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/ |
| H A D | BUILD.gn | 302 "__concepts/common_reference_with.h",
|
| /llvm-project-15.0.7/libcxx/docs/Status/ |
| H A D | Cxx20Issues.csv | 253 …`totally_ordered_with``\ both directly and indirectly requires ``common_reference_with``\ ","Prag…
|