Home
last modified time | relevance | path

Searched refs:common_reference_with (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.commonref/
H A Dcommon_reference.compile.pass.cpp21 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 Dindirectly_readable.compile.pass.cpp91 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 Dcommon_with.h34 common_reference_with<
37 common_reference_with<
H A Dcommon_reference_with.h28 concept common_reference_with = variable
H A Dassignable.h31 common_reference_with<__make_const_lvalue_ref<_Lhs>, __make_const_lvalue_ref<_Rhs>> &&
H A Dequality_comparable.h42 common_reference_with<__make_const_lvalue_ref<_Tp>, __make_const_lvalue_ref<_Up>> &&
H A Dswappable.h104 common_reference_with<_Tp, _Up> &&
/llvm-project-15.0.7/libcxx/include/__iterator/
H A Dconcepts.h41 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 Dindirectly_movable_storable.compile.pass.cpp123 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 Dconcepts29 // [concept.commonref], concept common_reference_with
31 concept common_reference_with = see below;
137 #include <__concepts/common_reference_with.h>
H A DCMakeLists.txt241 __concepts/common_reference_with.h
H A Dmodule.modulemap.in553 module common_reference_with { private header "__concepts/common_reference_with.h" }
/llvm-project-15.0.7/libcxx/include/__compare/
H A Dthree_way_comparable.h45 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 Dindirectly_copyable_storable.compile.pass.cpp258 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 Dswappable_with.compile.pass.cpp269 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 Dequality_comparable_with.compile.pass.cpp1113 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 Dtotally_ordered_with.pass.cpp1073 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 DBUILD.gn302 "__concepts/common_reference_with.h",
/llvm-project-15.0.7/libcxx/docs/Status/
H A DCxx20Issues.csv253 …`totally_ordered_with``\ both directly and indirectly requires ``common_reference_with``\ ","Prag…