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 255 of file str.h.

255 {
256 if (index >= mLength) {
257 static char dummy = '\0';
258 return dummy;
259 }
260 return c_str_mutable()[index];
261 }
size_t mLength
Definition str.h:81
char * c_str_mutable()
Definition str.h:251
Definition str.h:79

References c_str_mutable(), and mLength.

+ Here is the call graph for this function: