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

◆ FASTLED_DEFINE_FAST_HASH

#define FASTLED_DEFINE_FAST_HASH ( T)
Value:
template <> struct Hash<T> { \
uint32_t operator()(const int &key) const noexcept { \
return fast_hash32(key); \
} \
};

Definition at line 165 of file hash.h.

165#define FASTLED_DEFINE_FAST_HASH(T) \
166 template <> struct Hash<T> { \
167 uint32_t operator()(const int &key) const noexcept { \
168 return fast_hash32(key); \
169 } \
170 };