Move assignment operator.

Synopsis

Declared in <absl/status/statusor.h>

StatusOr&
operator=(StatusOr&& other) = default;

Description

StatusOr<T> is moveAssignable if T is move constructible and move assignable.

Return Value

A reference to *this.

Parameters

Name

Description

other

The source object.

Created with MrDocs