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

Synopses

Declared in <absl/status/status_builder.h>

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

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

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

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

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

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

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

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

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

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

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

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

Return Value

The value returned by adaptor.

Parameters

Name

Description

adaptor

The functor to apply to this builder.

Created with MrDocs