Searched refs:binary_pred (Results 1 – 5 of 5) sorted by relevance
/llvm-project/libcxx/test/std/algorithms/ |
H A D | ranges_robust_against_omitting_invoke.pass.cpp | 29 constexpr bool binary_pred(const Foo& rhs) const { return val < rhs.val; } 81 test(std::ranges::ends_with, in, in2, &Foo::binary_pred, &Bar::val, &Bar::val); in test_all() 87 test(std::ranges::find_first_of, in, in2, &Foo::binary_pred, &Bar::val, &Bar::val); in test_all() 88 test(std::ranges::adjacent_find, in, &Foo::binary_pred, &Bar::val); in test_all() 89 test(std::ranges::mismatch, in, in2, &Foo::binary_pred, &Bar::val, &Bar::val); in test_all() 90 test(std::ranges::equal, in, in2, &Foo::binary_pred, &Bar::val, &Bar::val); in test_all() 91 test(std::ranges::lexicographical_compare, in, in2, &Foo::binary_pred, &Bar::val, &Bar::val); in test_all() 93 test(std::ranges::lower_bound, in, x, &Foo::binary_pred, &Bar::val); in test_all() 94 test(std::ranges::upper_bound, in, x, &Foo::binary_pred, &Bar::val); in test_all() 95 test(std::ranges::equal_range, in, x, &Foo::binary_pred, in test_all() 27 constexpr bool binary_pred(const Foo& rhs) const { return val < rhs.val; } binary_pred() function [all...] |
H A D | ranges_robust_against_dangling.pass.cpp | 101 auto binary_pred = [](int i, int j) { return i < j; }; in test_all() local 153 std::ranges::transform, in, in2, out_transform.begin(), binary_pred); in test_all() 155 std::ranges::transform, in, in2, out_transform.begin(), binary_pred); in test_all() 157 std::ranges::transform, in, in2, out_transform.begin(), binary_pred); in test_all()
|
H A D | pstl.exception_handling.pass.cpp | 131 auto binary_pred = maybe_throw(tokens[5], [](int x, int y) -> bool { return x == y; }); in main() local 140 … (void)std::equal(policy, std::move(first1), std::move(last1), std::move(first2), binary_pred); in main() 151 … policy, std::move(first1), std::move(last1), std::move(first2), std::move(last2), binary_pred); in main()
|
/llvm-project/libcxx/include/ |
H A D | forward_list | 136 size_type unique(BinaryPredicate binary_pred); // void before C++20
|
H A D | list | 147 size_type unique(BinaryPredicate binary_pred); // void before C++20
|