5#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_GREATER_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_GREATER_HPP_
14#include "stdlib/include/stdlib_detail/forward.hpp"
25template <
class T =
void>
29 using result_type =
bool;
31 using first_argument_type = T;
33 using second_argument_type = T;
39 constexpr auto operator()(T
const& lhs, T
const& rhs)
const noexcept(
noexcept(
lhs >
rhs)) ->
bool {
49 using is_transparent =
void;
57 template <
class T,
class U>
60 return std::forward<T>(lhs) > std::forward<U>(rhs);
constexpr auto operator()(T &&lhs, U &&rhs) const noexcept(noexcept(std::forward< T >(lhs) > std::forward< U >(rhs))) ->
Returns if the first value is greater than the second.
Definition greater.hpp:58
Function object that can be invoked for greater than comparisons.
Definition greater.hpp:26
constexpr auto operator()(T const &lhs, T const &rhs) const noexcept(noexcept(lhs > rhs)) -> bool
Returns if the first value is greater than the second.
Definition greater.hpp:39
constexpr auto operator()(::arene::base::result< void, E > const &value) const noexcept(noexcept(hash< E >{}(std::declval< E const & >()))) -> std::size_t
Calculate the hash of a result.
Definition result.hpp:1827