FastLED 3.10.8
Loading...
Searching...
No Matches

◆ make_success() [2/2]

template<typename T>
PromiseResult< T > fl::task::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 143 of file promise_result.h.

143 {
145}
Result type for promise operations.
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition move.h:30
constexpr int type_rank< T >::value

References fl::FL_NO_EXCEPT, fl::adl_barrier::move(), and fl::type_rank< T >::value.

+ Here is the call graph for this function: