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

Detailed Description

Specialization of less 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.

Definition at line 34 of file utility.h.

#include <utility.h>

+ Inheritance diagram for fl::less< void >:
+ Collaboration diagram for fl::less< void >:

Public Member Functions

constexpr bool operator() (const void &lhs, const void &rhs) const FL_NOEXCEPT
 Function call operator that performs the less-than comparison.
 
template<typename T, typename U>
constexpr auto operator() (T &&lhs, U &&rhs) const FL_NOEXCEPT -> decltype(fl::forward< T >(lhs)< fl::forward< U >(rhs))
 Function call operator that performs the less-than comparison.
 

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