14template <
typename Key>
20 using map_iterator =
typename fl::unordered_map<Key, bool>::iterator;
80 return data.insert(key,
true);
89 template<
typename... Args>
97 auto map_it =
data.find(key);
102 auto map_it =
data.find(key);
108 return has(key) ? 1 : 0;
113 return data.erase(key);
const_iterator & operator++()
reference operator*() const
pointer operator->() const
const_iterator(map_const_iterator it)
bool operator!=(const const_iterator &other) const
bool operator==(const const_iterator &other) const
typename fl::unordered_map< Key, bool >::const_iterator map_const_iterator
const_iterator operator++(int)
const_iterator(const iterator &other)
typename fl::unordered_map< Key, bool >::iterator map_iterator
bool operator!=(const iterator &other) const
bool operator==(const iterator &other) const
friend class unordered_set
pointer operator->() const
iterator(map_iterator it)
reference operator*() const
const_iterator cbegin() const
iterator erase(const_iterator pos)
const_iterator end() const
iterator find(const Key &key)
fl::size count(const Key &key) const
const_iterator find(const Key &key) const
const_iterator begin() const
const_iterator cend() const
bool insert(const Key &key)
fl::size capacity() const
iterator erase(iterator pos)
fl::unordered_map< Key, bool > data
bool erase(const Key &key)
bool contains(const Key &key) const
bool emplace(Args &&... args)
bool has(const Key &key) const
Implements the FastLED namespace macros.
constexpr remove_reference< T >::type && move(T &&t) noexcept
HashMap< Key, T, Hash, KeyEqual > unordered_map
constexpr T && forward(typename remove_reference< T >::type &t) noexcept