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

◆ operator[]() [1/2]

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

Definition at line 334 of file str.h.

334 {
335 if (index >= mLength) {
336 static char dummy = '\0';
337 return dummy;
338 }
339 return c_str_mutable()[index];
340 }
char * c_str_mutable()
Definition str.h:330
fl::size mLength
Definition str.h:140

References c_str_mutable(), and mLength.

+ Here is the call graph for this function: