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

◆ setLiteral()

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

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

1300 {
1301 if (literal) {
1302 mLength = fl::strlen(literal);
1303 mStorage = ConstLiteral(literal);
1304 }
1305}
fl::variant< NotNullStringHolderPtr, ConstLiteral, ConstView > mStorage
size_t strlen(const char *s) FL_NOEXCEPT

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: