[#mp_units-silent_cast] = xref:mp_units.adoc[mp_units]::silent_cast :relfileprefix: ../ :mrdocs: Intentionally silent narrowing cast with compiler float‐conversion diagnostics suppressed. == Synopsis Declared in `<mp‐units/framework/scaling.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename To, typename From> [[nodiscard]] constexpr To silent_cast(From value) noexcept; ---- == Template Parameters [cols="1,4"] |=== |Name|Description | *To* | target type | *From* | source type (deduced) |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#