[#mp_units-utility-safe_int-07-2constructor-06] = xref:mp_units.adoc[mp_units]::xref:mp_units/utility.adoc[utility]::xref:mp_units/utility/safe_int-07.adoc[safe_int]::safe_int :relfileprefix: ../../../ :mrdocs: Construct from `safe_int` == Synopsis Declared in `<mp‐units/utility/safe_int.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template</* implementation-defined */ U> [[nodiscard]] constexpr explicit(!detail::is_value_preserving_int_v<U, T>) safe_int(xref:mp_units/utility/safe_int-07.adoc[safe_int<U, ErrorPolicy>] other); ---- == Return Value [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *other* | The object to construct from |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#