[#mp_units-safe_int-09-2constructor-00] = xref:mp_units.adoc[mp_units]::xref:mp_units/safe_int-09.adoc[safe_int]::safe_int :relfileprefix: ../../ :mrdocs: Construct from `safe_int` == Synopsis Declared in `<mp‐units/safe_int.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<std::integral U> requires (!std::is_same_v<T, U>) && std::is_constructible_v<T, U> constexpr explicit(!detail::is_value_preserving_int_v<U, T>) safe_int(xref:mp_units/safe_int-09.adoc[safe_int<U, ErrorPolicy>] const& other); ---- == Parameters [cols="1,4"] |=== |Name|Description | *other* | The object to copy construct from |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#