FastLED 3.10.8
Loading...
Searching...
No Matches

◆ max_size()

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

Definition at line 733 of file unordered_map.h.

733 {
734 // Return the maximum value that fl::size can hold, divided by the size of Entry
735 // to be conservative about memory limits
736 return static_cast<fl::size>(-1) / sizeof(Entry);
737 }