Intentionally silent narrowing cast with compiler float-conversion diagnostics suppressed.
<mp-units/framework/scaling.h>template<
typename To,
typename From>
[[nodiscard]]
constexpr
To
silent_cast(From value) noexcept;
| Name | Description |
|---|---|
| To | target type |
| From | source type (deduced) |