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

◆ operator[]() [2/2]

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

Definition at line 263 of file str.h.

263 {
264 if (index >= mLength) {
265 static char dummy = '\0';
266 return dummy;
267 }
268 return c_str()[index];
269 }
size_t mLength
Definition str.h:81
const char * c_str() const
Definition str.h:247
Definition str.h:79

References c_str(), and mLength.

+ Here is the call graph for this function: