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

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

References c_str_mutable(), and mLength.

+ Here is the call graph for this function: