5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_TYPE_TRAITS_IS_BINARY_PREDICATE_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_TYPE_TRAITS_IS_BINARY_PREDICATE_HPP_
11#include "arene/base/stdlib_choice/add_lvalue_reference.hpp"
12#include "arene/base/stdlib_choice/is_copy_constructible.hpp"
13#include "arene/base/stdlib_choice/is_move_constructible.hpp"
46template <
class F,
class T1,
class T2 = T1>
53 std::is_move_constructible<remove_cvref_t<F>>::value &&
54 std::is_copy_constructible<remove_cvref_t<F>>::value;
Definition accumulate.hpp:37
constexpr bool is_predicate_v
backport for the C++20 predicate concept
constexpr bool is_binary_predicate_v
determines if a type satisfies the BinaryPredicate named requirement
Definition accumulate.hpp:36
typename add_lvalue_reference< Type >::type add_lvalue_reference_t
Add an lvalue reference onto Type.
Definition add_lvalue_reference.hpp:63