Searched refs:HasCommonReference (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.commonref/ |
| H A D | common_reference.compile.pass.cpp | 328 struct HasCommonReference { struct 329 explicit(false) HasCommonReference(int); 335 struct basic_common_reference<HasCommonReference, int, X, Y> { 340 struct basic_common_reference<int, HasCommonReference, X, Y> { 344 static_assert(!std::common_reference_with<HasCommonReference, int>); 345 static_assert(std::common_reference_with<HasCommonReference, int&>);
|
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.common/ |
| H A D | common_with.compile.pass.cpp | 515 constexpr bool HasCommonReference() noexcept { in HasCommonReference() function 520 static_assert(!HasCommonReference<const T6&, const int&>()); 702 static_assert(HasCommonReference<const T7&, const int&>()); 704 !HasCommonReference<std::common_type_t<T7, int>&,
|