FastLED
3.9.15
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
125
of file
pair.h
.
125
{
126
FL_STATIC_ASSERT
(I < 2,
"Index out of bounds for pair"
);
127
if
(I == 0) {
128
return
p.
first
;
129
}
else
{
130
return
p.
second
;
131
}
132
}
FL_STATIC_ASSERT
#define FL_STATIC_ASSERT(...)
fl::pair::first
T1 first
Definition
pair.h:16
fl::pair::second
T2 second
Definition
pair.h:17
References
FL_NOEXCEPT
, and
FL_STATIC_ASSERT
.
fl
Generated on Tue Jun 16 2026 00:07:04 for FastLED by
1.13.2