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

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