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

◆ success() [1/2]

template<typename E>
static expected fl::expected< void, E >::success ( )
inlinestatic

Definition at line 164 of file expected.h.

164 {
165 expected r;
166 r.mData = VoidSuccess{};
167 return r;
168 }
expected() FL_NO_EXCEPT
Default constructor (creates error state)
Definition expected.h:177
fl::variant< T, ErrorInfo< E > > mData
Definition expected.h:134
expected type for operations that can fail (C++23-style)
Definition expected.h:79

References expected(), fl::FL_NO_EXCEPT, and fl::expected< T, E >::mData.

+ Here is the call graph for this function: