FastLED 3.10.6
Loading...
Searching...
No Matches

◆ setLiteral()

void fl::basic_string::setLiteral ( const char * literal)
protected

Definition at line 1324 of file basic_string.cpp.hpp.

1324 {
1325 if (literal) {
1326 mLength = fl::strlen(literal);
1327 mStorage = ConstLiteral(literal);
1328 }
1329}
fl::variant< NotNullStringHolderPtr, ConstLiteral, ConstView > mStorage
size_t strlen(const char *s) FL_NO_EXCEPT

References mLength, mStorage, and fl::strlen().

Referenced by operator=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: