mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix math/comparison.hpp
This commit is contained in:
parent
1c65d59971
commit
3b6ba46f17
23 changed files with 389 additions and 175 deletions
|
@ -12,12 +12,11 @@ namespace sprout {
|
|||
// not_equal_to
|
||||
//
|
||||
template<
|
||||
typename T1,
|
||||
typename T2,
|
||||
typename sprout::enabler_if<std::is_arithmetic<T1>::value && std::is_arithmetic<T2>::value>::type = sprout::enabler
|
||||
typename T, typename U,
|
||||
typename sprout::enabler_if<std::is_arithmetic<T>::value && std::is_arithmetic<U>::value>::type = sprout::enabler
|
||||
>
|
||||
inline SPROUT_CONSTEXPR bool
|
||||
not_equal_to(T1 x, T2 y) {
|
||||
not_equal_to(T x, U y) {
|
||||
return !sprout::math::equal_to(x, y);
|
||||
}
|
||||
} // namespace math
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue