Calls adaptor on this status builder to apply policies, type conversions, and/or side effects on the StatusBuilder.

Synopsis

Declared in <absl/status/status_builder.h>

template<typename Adaptor>
[[nodiscard]]
/* implementation-defined */
With(Adaptor&& adaptor) &&;

Description

This overload matches side‐effect adaptors, which return an absl::Status.

Return Value

The value returned by adaptor.

Note

The return value should not be discarded.

Parameters

Name

Description

adaptor

The functor to apply to this builder.

Created with MrDocs