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

◆ insert() [1/2]

template<typename Key, size N>
bool fl::VectorSetFixed< Key, N >::insert ( const Key & key)
inline

Definition at line 62 of file set.h.

62 {
63 if (data.size() < N) {
64 auto it = find(key);
65 if (it == end()) {
66 data.push_back(key);
67 return true;
68 }
69 }
70 return false;
71 }
iterator end()
Definition set.h:40
VectorType data
Definition set.h:169
iterator find(const Key &key)
Definition set.h:44

References data, end(), and find().

+ Here is the call graph for this function: