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 }
size_t current_size
Definition vector.h:302
T * memory()
Definition vector.h:74