FastLED 3.9.15
Loading...
Searching...
No Matches

◆ operator()() [2/2]

template<typename T, typename U>
auto fl::greater< void >::operator() ( T && lhs,
U && rhs ) const -> decltype(fl::forward<U>(rhs) < fl::forward<T>(lhs))
inlineconstexpr

Function call operator that performs the greater-than comparison.

Template Parameters
TType of the left-hand side argument
UType of the right-hand side argument
Parameters
lhsLeft-hand side argument
rhsRight-hand side argument
Returns
true if lhs > rhs, false otherwise

Definition at line 91 of file utility.h.

92 {
93 return fl::forward<U>(rhs) < fl::forward<T>(lhs); // Equivalent to lhs > rhs
94 }
constexpr T && forward(typename remove_reference< T >::type &t) FL_NOEXCEPT
Definition s16x16x4.h:234
Binary function object that returns whether the first argument is greater than the second.
Definition utility.h:60

References FL_NOEXCEPT, and fl::fl::forward().

+ Here is the call graph for this function: