absl::StatusOr::StatusOr

Converting move constructor from a StatusOr<U> (explicit overload).

Synopsis

Declared in <absl/status/statusor.h>

template<typename U>
requires internal_statusor::IsConstructionFromStatusOrValid<
                                true, T, U, false, U&&>::value
explicit
StatusOr(StatusOr<U>&& other);

Parameters

NameDescription
otherThe source StatusOr<U> to convert from.