Iros
Loading...
Searching...
No Matches
cmp_not_equal.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
di/math/intcmp/cmp_equal.h
"
4
5
namespace
di::math
{
6
namespace
detail
{
7
struct
CmpNotEqualFunction
{
8
template
<concepts::Integer T, concepts::Integer U>
9
constexpr
auto
operator()
(T a, U b)
const
->
bool
{
10
return
!
cmp_equal
(a, b);
11
}
12
};
13
}
14
15
constexpr
inline
auto
cmp_not_equal
=
detail::CmpNotEqualFunction
{};
16
}
cmp_equal.h
di::math::detail
Definition
abs.h:11
di::math
Definition
abs.h:10
di::math::cmp_equal
constexpr auto cmp_equal
Definition
cmp_equal.h:23
di::math::cmp_not_equal
constexpr auto cmp_not_equal
Definition
cmp_not_equal.h:15
di::math::detail::CmpNotEqualFunction
Definition
cmp_not_equal.h:7
di::math::detail::CmpNotEqualFunction::operator()
constexpr auto operator()(T a, U b) const -> bool
Definition
cmp_not_equal.h:9
libs
di
include
di
math
intcmp
cmp_not_equal.h
Generated by
1.13.0