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

◆ append() [14/39]

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

Definition at line 426 of file string.h.

426 {
427 if (opt.has_value()) {
428 append(opt.value());
429 } else {
430 write("nullopt", 7);
431 }
432 return *this;
433 }
T & value() FL_NOEXCEPT
Definition optional.h:112
bool has_value() const FL_NOEXCEPT
Definition optional.h:42
fl::size write(const fl::u8 *data, fl::size n) FL_NOEXCEPT
string & append(const bitset_fixed< N > &bs) FL_NOEXCEPT
Definition string.h:284

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

+ Here is the call graph for this function: