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

◆ operator<<() [14/30]

template<typename Key, typename T, typename Hash, typename KeyEqual, int INLINED_COUNT>
sstream & fl::sstream::operator<< ( const fl::unordered_map< Key, T, Hash, KeyEqual, INLINED_COUNT > & map)
inline

Definition at line 128 of file strstream.h.

128 {
129 mStr.append("{");
130 bool first = true;
131 for (auto it = map.begin(); it != map.end(); ++it) {
132 if (!first) {
133 mStr.append(", ");
134 }
135 first = false;
136 (*this) << it->first;
137 mStr.append(": ");
138 (*this) << it->second;
139 }
140 mStr.append("}");
141 return *this;
142 }
iterator end()
Definition rbtree.h:1103
iterator begin()
Definition rbtree.h:1100
string mStr
Definition strstream.h:369
MapRedBlackTree< Key, T, Compare, fl::allocator_slab< char > > map
Definition map.h:283

References sstream(), FL_NOEXCEPT, and mStr.

+ Here is the call graph for this function: