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

◆ operator<<() [15/30]

template<typename Key, typename Hash, typename KeyEqual>
sstream & fl::sstream::operator<< ( const fl::unordered_set< Key, Hash, KeyEqual > & set)
inline

Definition at line 112 of file strstream.h.

112 {
113 mStr.append("{");
114 bool first = true;
115 for (auto it = set.begin(); it != set.end(); ++it) {
116 if (!first) {
117 mStr.append(", ");
118 }
119 first = false;
120 (*this) << *it;
121 }
122 mStr.append("}");
123 return *this;
124 }
string mStr
Definition strstream.h:369

References sstream(), fl::set< Key, Allocator >::begin(), fl::set< Key, Allocator >::end(), FL_NOEXCEPT, and mStr.

+ Here is the call graph for this function: