Specifies if a specific conversion between two types is representable without data loss
Synopsis
Declared in <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>;
Template Parameters
| Name | Description |
|---|---|
From |
a source representation type |
To |
a destination representation type |
Created with MrDocs