5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_TYPE_TRAITS_IS_COMPARE_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_TYPE_TRAITS_IS_COMPARE_HPP_
11#include "arene/base/stdlib_choice/declval.hpp"
12#include "arene/base/stdlib_choice/enable_if.hpp"
13#include "arene/base/stdlib_choice/is_same.hpp"
18namespace is_compare_detail {
20template <
class F,
class T1,
class T2,
class =
void>
21extern constexpr bool is_equiv_valid_v =
false;
23template <
class F,
class T1,
class T2>
24extern constexpr bool is_equiv_valid_v<
67template <
class F,
class T1,
class T2 = T1>
71 is_compare_detail::is_equiv_valid_v<F, T1, T2>;
Definition accumulate.hpp:37
constexpr bool is_compare_v
determines if a type satisfies the Compare named requirement
constexpr bool is_binary_predicate_v
determines if a type satisfies the BinaryPredicate named requirement
Definition accumulate.hpp:36
bool
Check if element Idx and all subsequent elements of the two tuples are equal.
Definition tuple.hpp:649
typename enable_if< Condition, Type >::type enable_if_t
Type alias to support constraining templates. Is an alias for the specified type if the Condition is ...
Definition enable_if.hpp:41
auto declval() noexcept -> T &&
A dummy function that is declared but not defined, with a user-specified return type,...