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

289 {
290 if (index >= mLength) {
291 static char dummy = '\0';
292 return dummy;
293 }
294 return c_str()[index];
295 }
size_t mLength
Definition str.h:109
const char * c_str() const
Definition str.h:273

References c_str(), and mLength.

+ Here is the call graph for this function: