FastLED 3.9.15
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 142 of file promise_result.h.

142 {
144}
Result type for promise operations.
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28
constexpr int type_rank< T >::value

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

+ Here is the call graph for this function: