class success
Defined at line 152 of file ../../sdk/lib/fit/include/lib/fit/result.h
Type representing a success value of type T to return as a result. Returning a value through fit::result always requires using fit::success to disambiguate errors from values.
fit::result<E, T> is implicitly constructible from any fit::success<U>, where T is constructible from U. This simplifies returning values when T has converting constructors.
Functions
success<type-parameter-0-0>
public void success<type-parameter-0-0>(Args &&... args)
Defined at line 160 of file ../../sdk/lib/fit/include/lib/fit/result.h
Constructs a success value with the given arguments.
~success<type-parameter-0-0>
public void ~success<type-parameter-0-0>()
Defined at line 162 of file ../../sdk/lib/fit/include/lib/fit/result.h
success<type-parameter-0-0>
public void success<type-parameter-0-0>(const success<type-parameter-0-0> & )
Defined at line 165 of file ../../sdk/lib/fit/include/lib/fit/result.h
Error has the same copyability and moveability as the underlying type E.
operator=
public success<type-parameter-0-0> & operator=(const success<type-parameter-0-0> & )
Defined at line 166 of file ../../sdk/lib/fit/include/lib/fit/result.h
success<type-parameter-0-0>
public void success<type-parameter-0-0>(success<type-parameter-0-0> && )
Defined at line 167 of file ../../sdk/lib/fit/include/lib/fit/result.h
operator=
public success<type-parameter-0-0> & operator=(success<type-parameter-0-0> && )
Defined at line 168 of file ../../sdk/lib/fit/include/lib/fit/result.h