FastLED
3.9.15
Loading...
Searching...
No Matches
◆
operator[]()
[2/2]
template<typename T, fl::size N>
const T &
fl::FixedVector
< T, N >::operator[]
(
fl::size
index
)
const
inline
Definition at line
139
of file
vector.h
.
139
{
140
if
(
index
>=
current_size
) {
141
const
T
*
out
=
nullptr
;
142
return
*
out
;
// Cause a nullptr dereference
143
}
144
return
memory
()[
index
];
145
}
fl::FixedVector::current_size
fl::size current_size
Definition
vector.h:341
fl::FixedVector::memory
T * memory()
Definition
vector.h:82
fl::FixedVector
Definition
vector.h:78
fl
FixedVector
Generated on Fri Aug 22 2025 20:59:36 for FastLED by
1.13.2