FastLED 3.9.15
Loading...
Searching...
No Matches
fl::VectorSet< Key, Allocator > Class Template Reference

Detailed Description

template<typename Key, typename Allocator = fl::allocator<Key>>
class fl::VectorSet< Key, Allocator >

Definition at line 172 of file set.h.

#include <set.h>

+ Collaboration diagram for fl::VectorSet< Key, Allocator >:

Public Types

typedef VectorType::const_iterator const_iterator
 
typedef VectorType::iterator iterator
 
typedef fl::HeapVector< Key, Allocator > VectorType
 

Public Member Functions

constexpr VectorSet ()=default
 
const Keyback () const
 
iterator begin ()
 
const_iterator begin () const
 
constexpr fl::size capacity () const
 
void clear ()
 
template<typename... Args>
bool emplace (Args &&... args)
 
constexpr bool empty () const
 
iterator end ()
 
const_iterator end () const
 
bool erase (const Key &key)
 
bool erase (iterator pos)
 
iterator find (const Key &key)
 
const_iterator find (const Key &key) const
 
const Keyfront () const
 
bool has (const Key &key) const
 
bool insert (const Key &key)
 
bool insert (Key &&key)
 
constexpr fl::size size () const
 

Private Attributes

VectorType data
 

The documentation for this class was generated from the following file: