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

◆ operator=() [1/4]

string & fl::string::operator= ( const char * str)

Definition at line 130 of file string.cpp.hpp.

130 {
131 // Match the string(const char*) ctor's contract: nullptr → empty.
132 if (str) {
133 copy(str, fl::strlen(str));
134 } else {
135 clear();
136 }
137 return *this;
138}
void copy(const char *str) FL_NOEXCEPT
void clear(CRGB(&arr)[N])
Definition clear.h:12
size_t strlen(const char *s) FL_NOEXCEPT

References fl::clear(), copy(), FL_NOEXCEPT, and fl::strlen().

+ Here is the call graph for this function: