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

Detailed Description

template<typename T = void>
struct fl::greater< T >

Binary function object that returns whether the first argument is greater than the second.

This functor mimics std::greater from the C++ standard library. Implemented using operator< for compatibility with types that only define operator<.

Template Parameters
TType of the arguments being compared

Definition at line 60 of file utility.h.

#include <utility.h>

+ Inheritance diagram for fl::greater< T >:

Public Member Functions

constexpr bool operator() (const T &lhs, const T &rhs) const FL_NOEXCEPT
 Function call operator that performs the greater-than comparison.
 

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