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

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

References c_str(), and mLength.

+ Here is the call graph for this function: