template <typename T>
struct ConversionBase
Defined at line 341 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h
This base class exists to take advantage of shadowing
We include the conversion in this base class so that if the conversion in NumericConversions
overlaps, we (arbitrarily) choose the implementation in NumericConversions due to shadowing.
Public Members
ErrorType<T> error_
Public Methods
T operator T ()
T is a expected
<U
, ErrorType
<T
>>.
Defined at line 344 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h
T operator T ()
Defined at line 345 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h
Code<T> operator __decay(decltype(std::declval<type-parameter-0-0>().error().code())) ()
Defined at line 347 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h