FastLED
3.9.15
Loading...
Searching...
No Matches
◆
find()
template<typename T>
fl::size
fl::Slice
< T >::find
(
const T &
value
)
const
inline
Definition at line
157
of file
slice.h
.
157
{
158
for
(
fl::size
i
= 0;
i
<
mSize
; ++
i
) {
159
if
(
mData
[
i
] ==
value
) {
160
return
i
;
161
}
162
}
163
return
fl::size
(-1);
164
}
fl::Slice::mData
T * mData
Definition
slice.h:194
fl::Slice::mSize
fl::size mSize
Definition
slice.h:195
fl::Slice
Definition
slice.h:23
References
mData
, and
mSize
.
fl
Slice
Generated on Fri Aug 22 2025 20:59:37 for FastLED by
1.13.2