5 #ifndef VCCC_CONCEPTS_PREDICATE_HPP
6 #define VCCC_CONCEPTS_PREDICATE_HPP
15 template<
bool v ,
typename F,
typename... Args>
16 struct predicate_impl : std::false_type {};
18 template<
typename F,
typename... Args>
19 struct predicate_impl<true, F, Args...> : boolean_testable<invoke_result_t<F, Args...>> {};
36 template<
typename F,
typename... Args>
37 struct predicate : detail::predicate_impl<regular_invocable<F, Args...>::value, F, Args...> {};
Definition: directory.h:12
specifies that a callable type is a Boolean predicate
Definition: predicate.hpp:37