Left shift operators

Synopses

Declared in <absl/status/status_builder.h>

Appends to the extra message that will be added to the original status.

template<typename T>
ExtraMessage&
operator<<(T const& value) &;

Appends to the extra message, preserving the rvalue‐ness of the object.

template<typename T>
ExtraMessage&&
operator<<(T const& value) &&;

Return Value

*this to allow method chaining.

Parameters

Name

Description

value

The value to append to the extra message.

Created with MrDocs