FastLED 3.9.15
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 757 of file unordered_map.h.

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