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

◆ append() [14/39]

template<typename T>
string & fl::string::append ( const fl::optional< T > & opt)
inline

Definition at line 435 of file string.h.

435 {
436 if (opt.has_value()) {
437 append(opt.value());
438 } else {
439 write("nullopt", 7);
440 }
441 return *this;
442 }
T & value() FL_NO_EXCEPT
Definition optional.h:112
bool has_value() const FL_NO_EXCEPT
Definition optional.h:42
fl::size write(const fl::u8 *data, fl::size n) FL_NO_EXCEPT
string & append(const bitset_fixed< N > &bs) FL_NO_EXCEPT
Definition string.h:293

References append(), fl::FL_NO_EXCEPT, and fl::basic_string::write().

+ Here is the call graph for this function: