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

◆ operator==()

template<typename Key, typename Compare = less<Key>, typename Allocator = allocator<Key>>
bool fl::MultiSetTree< Key, Compare, Allocator >::operator== ( const MultiSetTree< Key, Compare, Allocator > & other) const
inline

Definition at line 359 of file multi_set.h.

359 {
360 if (size() != other.size()) return false;
361 for (auto it1 = begin(), it2 = other.begin(); it1 != end(); ++it1, ++it2) {
362 if (*it1 != *it2) {
363 return false;
364 }
365 }
366 return true;
367 }
iterator end()
Definition multi_set.h:192
fl::size size() const
Definition multi_set.h:204
iterator begin()
Definition multi_set.h:189