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

◆ operator<<() [19/30]

template<typename T>
sstream & fl::sstream::operator<< ( const Optional< T > & opt)
inline

Definition at line 85 of file strstream.h.

85 {
86 if (!opt.has_value()) {
87 mStr.append("nullopt");
88 } else {
89 mStr.append("optional(");
90 (*this) << *opt;
91 mStr.append(")");
92 }
93 return *this;
94 }
string mStr
Definition strstream.h:369

References sstream(), FL_NOEXCEPT, and mStr.

+ Here is the call graph for this function: