FastLED
3.10.6
Loading...
Searching...
No Matches
◆
replace()
template<typename Iterator, typename T>
void fl::replace
(
Iterator
first
,
Iterator
last
,
const T &
old_value
,
const T &
new_value
)
Definition at line
245
of file
algorithm.h
.
245
{
246
while
(first != last) {
247
if
(*first == old_value) {
248
*first = new_value;
249
}
250
++first;
251
}
252
}
References
FL_NO_EXCEPT
.
fl
Generated on Sun Oct 4 2026 23:09:08 for FastLED by
1.13.2