[#absl-StatusOr-2constructor-02] = xref:absl.adoc[absl]::xref:absl/StatusOr.adoc[StatusOr]::StatusOr :relfileprefix: ../../ :mrdocs: Direct‐initializes the held value from `u` (lifetime‐bound overload). == Synopsis Declared in `<absl/status/statusor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename U = T> requires internal_statusor::IsConstructionValid< false, T, U, true>::value StatusOr(U&& u); ---- == Parameters [cols="1,4"] |=== | Name| Description | *u* | The value used to direct‐initialize the held object. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#