Direct‐initializes the held value from u (lifetime‐bound overload).

Synopsis

Declared in <absl/status/statusor.h>

template<typename U = T>
requires internal_statusor::IsConstructionValid<
                                 false, T, U, true>::value
StatusOr(U&& u);

Parameters

Name

Description

u

The value used to direct‐initialize the held object.

Created with MrDocs