Assignment operators

Synopses

Declared in <absl/status/status.h>

Copy assignment operator.

Status&
operator=(Status const& x);

Move assignment operator. The moved‐from state is valid but unspecified.

Status&
operator=(Status&& x) noexcept;

Return Value

A reference to *this.

Parameters

Name

Description

x

The status to copy from.

Created with MrDocs