Assigns a value convertible to Status, making *this non-ok.
Declared in <absl/status/statusor.h>
template<typename U = absl::Status>
requires internal_statusor::IsConstructionFromStatusValid<
false, T, U>::value
StatusOr&
operator=(U&& v);
A reference to *this.
| Name | Description |
|---|---|
| v | The status (or value convertible to a status) to store. |