Searched refs:CompInt (Results 1 – 2 of 2) sorted by relevance
/llvm-project/libcxx/test/std/iterators/iterator.requirements/alg.req.sortable/ |
H A D | sortable.compile.pass.cpp | 18 using CompInt = bool(*)(int, int); typedef 25 static_assert( std::indirect_strict_weak_order<CompInt, AllConstraintsSatisfied>); 26 static_assert( std::sortable<AllConstraintsSatisfied, CompInt>); 35 static_assert(!std::indirect_strict_weak_order<CompInt, Foo*>); 36 static_assert( std::indirect_strict_weak_order<CompInt, std::projected<Foo*, Proj>>); 37 static_assert(!std::sortable<Foo*, CompInt>); 38 static_assert( std::sortable<Foo*, CompInt, Proj>); 42 static_assert( std::indirect_strict_weak_order<CompInt, NotPermutable>); 43 static_assert(!std::sortable<NotPermutable, CompInt>); 48 static_assert(!std::indirect_strict_weak_order<CompInt, NoIndirectStrictWeakOrder>); [all …]
|
/llvm-project/libcxx/test/std/iterators/iterator.requirements/alg.req.mergeable/ |
H A D | mergeable.compile.pass.cpp | 23 using CompInt = bool(*)(int, int); typedef 37 static_assert( std::indirect_strict_weak_order<CompInt, Input, Input>); 39 static_assert( std::indirect_strict_weak_order<CompInt, Input, InputLong>); 43 static_assert( std::mergeable<Input, Input, Output, CompInt>); 44 static_assert( std::mergeable<Input, Input, Output, CompInt, ProjDefault>); 53 static_assert( std::indirect_strict_weak_order<CompInt, 55 static_assert( std::mergeable<Foo*, Foo*, Foo*, CompInt, ProjFooToInt, ProjFooToLong>);
|