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

◆ operator<<() [11/30]

template<typename Key, typename Value, typename Less>
sstream & fl::sstream::operator<< ( const fl::flat_map< Key, Value, Less > & map)
inline

Definition at line 164 of file strstream.h.

164 {
165 mStr.append("{");
166 bool first = true;
167 for (auto it = map.begin(); it != map.end(); ++it) {
168 if (!first) {
169 mStr.append(", ");
170 }
171 first = false;
172 (*this) << it->first;
173 mStr.append(": ");
174 (*this) << it->second;
175 }
176 mStr.append("}");
177 return *this;
178 }
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: