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

◆ make_success() [2/2]

template<typename T>
result< T > fl::make_success ( T && value)

Helper function to create a successful result (move)

Template Parameters
TThe value type
Parameters
valueThe success value (moved)
Returns
result containing the value

Definition at line 142 of file promise_result.h.

142 {
143 return result<T>(fl::move(value));
144}
Result type for promise operations.
constexpr remove_reference< T >::type && move(T &&t) noexcept
Definition move.h:27

References move().

+ Here is the call graph for this function: