Perfect‐forwarding value assignment operator (captured‐by‐this overload).

Synopsis

Declared in <absl/status/statusor.h>

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

Return Value

A reference to *this.

Parameters

Name

Description

v

The value to assign into the held object.

Created with MrDocs