Specifies if a specific conversion between two types is representable without data loss
<mp-units/framework/customization_points.h>[[deprecated]]
template<
typename From,
typename To>
constexpr bool is_value_preserving = treat_as_floating_point<To> || !treat_as_floating_point<From>;
| Name | Description |
|---|---|
| From | a source representation type |
| To | a destination representation type |