absl::StatusOr::StatusOr

Move constructor.

Synopsis

Declared in <absl/status/statusor.h>

StatusOr(StatusOr&& other) = default;

Description

StatusOr<T> is move constructible if T is move constructible.

Parameters

NameDescription
otherThe source object.