Constructs the inner value T in‐place from the given arguments.

Synopsis

Declared in <absl/status/statusor.h>

template<typename... Args>
explicit
StatusOr(
    std::in_place_t tag,
    Args&&... args);

Description

Constructs the inner value T in‐place using the provided args, using the T(args...) constructor.

Parameters

Name

Description

args

The arguments forwarded to the T constructor.

tag

A tag that selects this overload.

Created with MrDocs