FastLED
3.9.15
Loading...
Searching...
No Matches
◆
operator[]()
[2/2]
template<typename T, size_t N>
const T &
fl::FixedVector
< T, N >::operator[]
(
size_t
index
)
const
inline
Definition at line
116
of file
vector.h
.
116
{
117
if
(
index
>=
current_size
) {
118
const
T
*
out
=
nullptr
;
119
return
*
out
;
// Cause a nullptr dereference
120
}
121
return
memory
()[
index
];
122
}
fl::FixedVector::current_size
size_t current_size
Definition
vector.h:302
fl::FixedVector::memory
T * memory()
Definition
vector.h:74
fl::FixedVector
Definition
vector.h:70
fl
FixedVector
Generated on Thu May 29 2025 04:44:58 for FastLED by
1.13.2