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

◆ operator==()

template<typename Key, typename Allocator = fl::allocator_slab<Key>>
bool fl::set< Key, Allocator >::operator== ( const set< Key, Allocator > & other) const
inline

Equality comparison.

Definition at line 488 of file set.h.

488 {
489 if (size() != other.size()) return false;
490 return fl::equal(begin(), end(), other.begin());
491 }
const_iterator begin() const
Definition set.h:415
size_type size() const
Definition set.h:426
const_iterator end() const
Definition set.h:416
Definition set.h:367
bool equal(Iterator1 first1, Iterator1 last1, Iterator2 first2) FL_NOEXCEPT
Definition algorithm.h:96