Converting move assignment operator from an absl::StatusOr<U> (lifetime‐bound).

Synopsis

Declared in <absl/status/statusor.h>

template<typename U>
requires internal_statusor::IsStatusOrAssignmentValid<
                                  T, U&&, true>::value
StatusOr&
operator=(StatusOr<U>&& other);

Return Value

A reference to *this.

Parameters

Name

Description

other

The source StatusOr<U> to assign from.

Created with MrDocs