ae2f::Core
Loading...
Searching...
No Matches
ae2f::Macro::Cmp Namespace Reference

Functions

template<typename T , typename K = T, typename R = T>
constexpr R TakeGt (T a, K b)
 
template<typename T , typename K = T, typename R = T>
constexpr R TakeLs (T a, K b)
 
template<typename T , typename K = T, typename R = T>
constexpr R Diff (T a, K b)
 

Function Documentation

◆ Diff()

template<typename T , typename K = T, typename R = T>
R ae2f::Macro::Cmp::Diff ( T a,
K b )
constexpr
Returns
The absolute different of two.

◆ TakeGt()

template<typename T , typename K = T, typename R = T>
R ae2f::Macro::Cmp::TakeGt ( T a,
K b )
constexpr
Warning
Two parameters must be comparable with operator.
Returns
One bigger.

◆ TakeLs()

template<typename T , typename K = T, typename R = T>
R ae2f::Macro::Cmp::TakeLs ( T a,
K b )
constexpr
Warning
Two parameters must be comparable with operator.
Returns
One smaller.