FastLED
3.10.8
Loading...
Searching...
No Matches
◆
get()
[1/12]
template<fl::size I, typename T1, typename T2>
const
pair_element
< I, T1, T2 >::type & fl::get
(
const
pair
< T1, T2 > &
p
)
Definition at line
129
of file
pair.h
.
129
{
130
FL_STATIC_ASSERT
(I < 2,
"Index out of bounds for pair"
);
131
if
(I == 0) {
132
return
p.
first
;
133
}
else
{
134
return
p.
second
;
135
}
136
}
FL_STATIC_ASSERT
#define FL_STATIC_ASSERT(...)
fl::pair::first
T1 first
Definition
pair.h:17
fl::pair::second
T2 second
Definition
pair.h:18
References
FL_NO_EXCEPT
, and
FL_STATIC_ASSERT
.
fl
Generated on Thu Oct 22 2026 05:46:04 for FastLED by
1.13.2