FastLED 3.9.15
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_NOEXCEPT
Default constructor (creates error state)
Definition expected.h:177
void & value() FL_NOEXCEPT
Definition expected.h:101
fl::variant< T, ErrorInfo< E > > mData
Definition expected.h:134
expected type for operations that can fail (C++23-style)
Definition expected.h:79
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28