FastLED 3.10.10
Loading...
Searching...
No Matches

◆ setLiteral()

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

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

1349 {
1350 if (literal) {
1351 mLength = fl::strlen(literal);
1352 mStorage = ConstLiteral(literal);
1353 }
1354}
fl::variant< NotNullStringHolderPtr, ConstLiteral, ConstView > mStorage
FASTLED_FORCE_INLINE size_t strlen(const char *s) FL_NO_EXCEPT
Definition cstring.h:56

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

Referenced by operator=().

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