FastLED 3.9.15
Loading...
Searching...
No Matches
fl::greater< void > Struct Reference

Detailed Description

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.

Definition at line 80 of file utility.h.

#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.
 

The documentation for this struct was generated from the following file: