FastLED 3.9.15
Loading...
Searching...
No Matches

◆ operator[]() [1/2]

template<size_t SIZE = 64>
char & fl::StrN< SIZE >::operator[] ( size_t index)
inline

Definition at line 281 of file str.h.

281 {
282 if (index >= mLength) {
283 static char dummy = '\0';
284 return dummy;
285 }
286 return c_str_mutable()[index];
287 }
size_t mLength
Definition str.h:109
char * c_str_mutable()
Definition str.h:277

References c_str_mutable(), and mLength.

+ Here is the call graph for this function: