|
FastLED 3.9.15
|
Specialization of greater for void, allowing for transparent comparisons.
This specialization allows the functor to be used with different types as long as they support the less-than operator. Implemented using operator< for compatibility.
#include <utility.h>
Inheritance diagram for fl::greater< void >:
Collaboration diagram for fl::greater< void >:Public Member Functions | |
| constexpr bool | operator() (const void &lhs, const void &rhs) const FL_NOEXCEPT |
| Function call operator that performs the greater-than comparison. | |
| template<typename T, typename U> | |
| constexpr auto | operator() (T &&lhs, U &&rhs) const FL_NOEXCEPT -> decltype(fl::forward< U >(rhs)< fl::forward< T >(lhs)) |
| Function call operator that performs the greater-than comparison. | |