Update overloads

Synopses

Declared in <absl/status/status.h>

Updates the existing status with new_status provided that this‐>ok().

void
Update(Status const& new_status);

Updates the existing status by moving from new_status if this‐>ok().

void
Update(Status&& new_status);

Parameters

Name

Description

new_status

The status to apply if *this is currently OK.

Created with MrDocs