5#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_NOT_EQUAL_TO_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_NOT_EQUAL_TO_HPP_
14#include "stdlib/include/stdlib_detail/forward.hpp"
22template <
class T =
void>
26 using result_type =
bool;
28 using first_argument_type = T;
30 using second_argument_type = T;
36 constexpr auto operator()(T
const& lhs, T
const& rhs)
const noexcept(
noexcept(
lhs !=
rhs)) ->
bool {
47 using is_transparent =
void;
56 template <
class T,
class U>
59 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 two values are non-equal with parameter and return type deduced.
Definition not_equal_to.hpp:57
Function object that can be invoked for non-equality comparisons.
Definition not_equal_to.hpp:23
constexpr auto operator()(T const &lhs, T const &rhs) const noexcept(noexcept(lhs !=rhs)) -> bool
Returns if two values are non-equal.
Definition not_equal_to.hpp:36
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