Construct from safe_int
<mp-units/safe_int.h>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(safe_int<U, ErrorPolicy> const& other);
| Name | Description |
|---|---|
| other | The object to copy construct from |