Lines Matching refs:predicate
17 static_assert(std::predicate<bool()>);
18 static_assert(std::predicate<bool (*)()>);
19 static_assert(std::predicate<bool (&)()>);
21 static_assert(!std::predicate<void()>);
22 static_assert(!std::predicate<void (*)()>);
23 static_assert(!std::predicate<void (&)()>);
27 static_assert(!std::predicate<S(int), int>);
28 static_assert(!std::predicate<S(double), double>);
29 static_assert(std::predicate<int S::*, S*>);
30 static_assert(std::predicate<int (S::*)(), S*>);
31 static_assert(std::predicate<int (S::*)(), S&>);
32 static_assert(!std::predicate<void (S::*)(), S*>);
33 static_assert(!std::predicate<void (S::*)(), S&>);
35 static_assert(!std::predicate<bool(S)>);
36 static_assert(!std::predicate<bool(S&), S>);
37 static_assert(!std::predicate<bool(S&), S const&>);
38 static_assert(std::predicate<bool(S&), S&>);
43 static_assert(std::predicate<Predicate, int, double, char>);
44 static_assert(std::predicate<Predicate&, int, double, char>);
45 static_assert(!std::predicate<const Predicate, int, double, char>);
46 static_assert(!std::predicate<const Predicate&, int, double, char>);
50 constexpr bool check_lambda(std::predicate auto) { return true; } in check_lambda()