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

◆ success() [2/2]

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

Create successful result.

Definition at line 108 of file expected.h.

108 {
109 expected r;
111 return r;
112 }
expected() FL_NO_EXCEPT
Default constructor (creates error state)
Definition expected.h:177
fl::variant< T, ErrorInfo< E > > mData
Definition expected.h:134
void & value() FL_NO_EXCEPT
Definition expected.h:101
expected type for operations that can fail (C++23-style)
Definition expected.h:79
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition move.h:28