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