FastLED 3.10.9
Loading...
Searching...
No Matches

◆ max_load_factor() [1/2]

template<typename Key, typename T, typename Hash = Hash<Key>, typename KeyEqual = EqualTo<Key>, int INLINED_COUNT = FASTLED_HASHMAP_INLINED_COUNT>
float fl::unordered_map< Key, T, Hash, KeyEqual, INLINED_COUNT >::max_load_factor ( ) const
inline

Definition at line 758 of file unordered_map.h.

758 {
759 // mLoadFactor is stored as u8 (0-255) representing 0.0-1.0
760 return static_cast<float>(mLoadFactor) / 255.0f;
761 }