Constructs the inner value T in‐place from an initializer list and args.

Synopsis

Declared in <absl/status/statusor.h>

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

Parameters

Name

Description

ilist

The initializer list forwarded to the T constructor.

args

The additional arguments forwarded to the T constructor.

tag

A tag that selects this overload.

Created with MrDocs