mp_units::is_value_preserving¶
The former name of implicitly_scalable
Synopsis¶
Declared in <mp-units/framework/customization_points.h>
[[deprecated("2.6.0: Use `mp_units::implicitly_scalable` instead")]]
template<typename From, typename To>
constexpr bool is_value_preserving =
treat_as_floating_point<To> || !treat_as_floating_point<From>;
Warning
Deprecated: 2.6.0: Use `mp_units::implicitly_scalable` instead. Use of this entity is allowed but discouraged.