Constructs a new StatusOr<T> from a value convertible to Status (explicit overload).
Declared in <absl/status/statusor.h>
template<typename U = absl::Status>
requires internal_statusor::IsConstructionFromStatusValid<
true, T, U>::value
explicit
StatusOr(U&& v);
| Name | Description |
|---|---|
| v | The status (or value convertible to a status) to store. |