FastLED
3.9.15
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
s
t
u
w
x
Variables
Typedefs
a
b
c
d
e
h
i
l
o
p
r
s
t
u
v
x
Enumerations
Enumerator
b
c
d
f
h
k
l
m
n
p
r
s
w
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
m
n
p
r
s
t
u
v
x
y
Enumerations
Enumerator
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
y
Related Symbols
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
k
l
n
p
q
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Examples
►
FastLED
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
◆
prev()
template<typename
Key
, typename Value, size_t N>
bool
fl::FixedMap
<
Key
, Value, N >::prev
(
const
Key
&
key
,
Key
*
prev_key
,
bool
allow_rollover
=
false
) const
inline
Definition at line
196
of file
map.h
.
197
{
198
const_iterator
it
=
find
(
key
);
199
if
(
it
!=
end
()) {
200
if
(
it
!=
begin
()) {
201
--
it
;
202
*
prev_key
=
it
->first;
203
return
true
;
204
}
else
if
(
allow_rollover
&& !
empty
()) {
205
*
prev_key
=
data
[
data
.size() - 1].first;
206
return
true
;
207
}
208
}
209
return
false
;
210
}
fl::FixedMap::end
iterator end()
Definition
map.h:36
fl::FixedMap::data
VectorType data
Definition
map.h:228
fl::FixedMap::begin
iterator begin()
Definition
map.h:35
fl::FixedMap::find
iterator find(const Key &key)
Definition
map.h:40
fl::FixedMap::empty
constexpr bool empty() const
Definition
map.h:215
fl::FixedMap::const_iterator
VectorType::const_iterator const_iterator
Definition
map.h:30
fl::FixedMap
Definition
map.h:24
fl
FixedMap
Generated on Thu May 29 2025 04:44:58 for FastLED by
1.13.2