FastLED
3.9.15
Loading...
Searching...
No Matches
◆
max_element()
[1/2]
template<typename Iterator>
Iterator fl::max_element
(
Iterator
first
,
Iterator
last
)
Definition at line
17
of file
algorithm.h
.
17
{
18
if
(first == last) {
19
return
last;
20
}
21
22
Iterator max_iter = first;
23
++first;
24
25
while
(first != last) {
26
if
(*max_iter < *first) {
27
max_iter = first;
28
}
29
++first;
30
}
31
32
return
max_iter;
33
}
fl
Generated on Fri Aug 22 2025 20:59:36 for FastLED by
1.13.2