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

◆ assign() [7/7]

string & fl::string::assign ( string_view sv)

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

140 {
141 if (sv.empty()) {
142 clear();
143 } else {
144 copy(sv.data(), sv.size());
145 }
146 return *this;
147}
void copy(const char *str) FL_NOEXCEPT
void clear(CRGB(&arr)[N])
Definition clear.h:12

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

Referenced by operator=().

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